werkzeug icon indicating copy to clipboard operation
werkzeug copied to clipboard

The comprehensive WSGI web application library.

Results 70 werkzeug issues
Sort by recently updated
recently updated
newest added

This benchmark script: ```python from flask import Flask def create_app(): """Create and configure an instance of the Flask application.""" app = Flask(__name__, instance_relative_config=True) @app.route("/hello") def index(): return "Hello, World!" #...

Thanks for reviewing #1755, @davidism. Now that that's merged, I'm following up as promised to pose whether we should make any changes to `werkzeug.auth.WWWAuthenticateMixin` / `werkzeug.datastructures.WWWAuthenticate`, to improve Werkzeug's support...

The Werkzeug test Client adds double quotest around a cookie value. This means that if you set a cookie using set_cookie and then get the value of the cookie using...

Cookies have a `domain` property (https://github.com/pallets/werkzeug/blob/71cf9902012338f8ee98338fa7bba50572606637/src/werkzeug/test.py#L824), and EnvironBuilder produces an environ with `HTTPS_HOST` set based on request header values (https://github.com/pallets/werkzeug/blob/71cf9902012338f8ee98338fa7bba50572606637/src/werkzeug/test.py#L721), but in `_TestCookieJar.inject_wsgi`, all cookies are applied, independent of their...

https://github.com/pallets/flask/issues/1200 was about `MAX_CONTENT_LENGTH` not being checked always, except when calling `request.form`. `request.get_json()` and others (`request.get_data()`?) did not trigger the check. This was fixed in https://github.com/pallets/werkzeug/pull/1126/files (Jun 2017). However, in...

I think it would be nice to show local variables for each frame. It would be useful, especially if the debugger is disabled. For the interface, the local variables could...

debugger

Werkzeug offers many useful methods, it would be much easier if it supported ASGI than if we started from scratch.

ASGI

I wrote a new version of cgi.parse_header / werkzeug.parse_options_header with better handling for various special cases that unfortunately occur. The new implementation is also twice faster than the two others....

According to [RFC 2045 Section 5.1](https://tools.ietf.org/html/rfc2045#section-5.1), mime-type parameters can be quoted. As additional reference, the `quoted-string` is defined in [RFC 7230 Section 3.2.6](https://tools.ietf.org/html/rfc7230#section-3.2.6) (which is the same as in [RFC...

Add support for the new RFC 7239 `Forwarded` HTTP header to `werkzeug.contrib.fixers.ProxyFix`: ``` Forwarded: for=192.0.2.60; proto=http; by=203.0.113.43 ```