summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* test Client always returns a TestResponseDavid Lord2020-10-161-126/+71
| | | | | | | | | | | | | | | | | | | TestResponse.request is a Request for the environ that created the response. TestResponse.history is a list of intermediate responses when following redirects. Client.response_wrapper is always a subclass of TestResponse. If no wrapper is passed or it's Response or BaseResponse, use TestResponse. Otherwise, create a subclass with the wrapper and TestResponse. EnvironBuilder.get_request returns a Request instead of BaseRequest. Deprecate Client.open(as_tuple=True). Treating the response as a tuple (unpacking, indexing) raises a deprecation warning. Update all tests to use TestResponse instead of tuple. Fix the ProxyFix test that was relying on mutating the environ. Update the follow_redirects history test to follow multiple redirects.
* Fix docs for werkzeug.formparser.parse_form_datavlade111152020-10-071-7/+13
| | | | | * Make input and output bytes. * black format. * Correct import statements.
* implement send_file function from FlaskKai Chen2020-07-121-0/+2
| | | | | | | | | * copy send_file from Flask * move Flask-specific config into parameters * copy tests * update docs Co-authored-by: Rodrigo Medina <rodrigo.medina.neri@gmail.com>
* replace jQuery with vanilla JavaScript1807-remove-jqueryKai Chen2020-06-191-3/+3
| | | | | | Co-authored-by: Christopher Nguyen <chrisngyn99@gmail.com> Co-authored-by: Rodrigo Medina <rodrigo.medina.neri@gmail.com> Co-authored-by: Yanlam Ko <yk396@cornell.edu>
* fix docs buildDavid Lord2020-05-182-10/+0
|
* use pip-compile to pin dev requirementsDavid Lord2020-05-181-4/+0
|
* replace deprecated escape with html.escapeDavid Lord2020-04-121-2/+2
|
* Remove vestiges of Python 2 support, test improvements.Joshua Bronson2020-03-211-1/+1
| | | | | | | | | Python 2 support was dropped in #1693. * Remove superfluous __ne__ and __cmp__ implementations. * Use no-arg super() rather than 2-arg super(...). Also improve associated tests.
* remove simplejsonDavid Lord2020-03-192-5/+1
| | | | | | | | In modern Python it's unlikely to be significantly better than the built-in json module. The module used by JSONMixin is overridable, so users can plug it in if they want. See https://github.com/pallets/itsdangerous/issues/146
* remove unused ref directivesDavid Lord2020-03-198-16/+3
| | | | replace page refs with doc directives
* Merge branch '1.0.x'David Lord2020-03-181-1/+1
|\
| * Update tutorialManuel Gundlach2020-02-201-1/+1
| | | | | | Let the tutorial reflect the move of SharedDataMiddleware to middleware.shared_data
* | f-strings everywhereDavid Lord2020-03-174-16/+21
| |
* | use "str" and "bytes" instead of "unicode"David Lord2020-03-1712-213/+92
| |
* | run pyupgrade on examplesDavid Lord2020-03-171-2/+2
| |
* | update reference code to import StringIO function from io modulenorthernSage2020-03-101-1/+1
| |
* | change urlparse call to werkzeug's url_parsenorthernSage2020-03-081-1/+1
| |
* | change old comma-separated raise syntax to new ('as') onenorthernSage2020-03-081-1/+1
| |
* | change old urlparse (renamed in python 3) call to werkzeug's url_parsenorthernSage2020-03-081-1/+1
|/
* document werkzeug loggerBrad Solomon2020-02-041-0/+16
|
* docs cleanupDavid Lord2020-02-041-15/+22
|
* Add support for WebSocket rules in the routingpgjones2020-02-031-0/+29
| | | | | | | This allows for Rules to be marked as a WebSocket route and only matched if the binding is websocket. It also ensures that when a websocket rule is built with a scheme it defaults to the `ws` or `wss` scheme.
* Merge branch '0.16.x'David Lord2020-01-261-40/+7
|\
| * remove old docs about decoding errorsDavid Lord2020-01-261-40/+7
| |
* | update wrapper mixin docsDavid Lord2020-01-141-11/+43
| |
* | docs for merge_slashesDavid Lord2020-01-053-18/+26
| |
* | remove deprecated top-level importsDavid Lord2019-09-172-56/+0
| |
* | more test.rst py3 compatDavid Lord2019-09-091-6/+5
| |
* | Update "Test Utilities" doc to Python 3Jérôme Lafréchoux2019-09-091-8/+9
| |
* | Added missing HTTPException subclasses to docs.Pieter van Beek2019-09-021-0/+10
| |
* | use cryptography instead of pyOpenSSLalex2019-07-121-1/+1
| | | | | | | | | | pyOpenSSL is only a wrapper around cryptography now. It recommends using cryptography directly for our use case.
* | highlight server log with Click instead of termcolorBatuhan Taşkaya2019-07-122-5/+10
| |
* | add InternalServerError.original_exception attributeDavid Lord2019-06-201-0/+1
| |
* | Merge branch '0.15.x'David Lord2019-06-026-6/+6
|\ \ | |/
| * fix docs module directivesDavid Lord2019-06-026-6/+6
| |
| * fix incorrect import pathBen Steadman2019-05-151-1/+1
| |
* | Add utils.invalidate_cached_property()David Baumgold2019-03-201-0/+2
| |
* | drop support for Python 3.4David Lord2019-03-191-1/+1
| |
* | remove deprecated codeDavid Lord2019-03-1913-294/+0
|/
* use sphinx-issuesDavid Lord2019-03-113-1/+12
|
* apply code stylecode-styleDavid Lord2019-03-083-3/+2
| | | | | | | * reorder-python-imports * line fixers * black * flake8
* Merge branch '0.14.x'David Lord2019-01-2817-300/+128
|\
| * modernize docs config0.14.xDavid Lord2019-01-2737-1692/+171
| | | | | | | | fix linkcheck errors
* | all deprecations warnings show removal versionDavid Lord2019-01-271-107/+2
| |
* | Revert "move dynamic charset wrapper out of contrib"David Lord2019-01-272-17/+7
| | | | | | | | This reverts commit 2c2cc69bdf9edf488898e1e4336f82145a2502a2.
* | move wsgi middlewareDavid Lord2019-01-279-34/+11
| |
* | port Flask's JSONMixin implementationDavid Lord2019-01-262-5/+3
| |
* | update changelog for contrib deprecationsdeprecate-contribDavid Lord2019-01-251-4/+4
| |
* | move dynamic charset wrapper out of contribDavid Lord2019-01-252-7/+30
| |
* | move json wrapper out of contribDavid Lord2019-01-243-10/+26
| |