Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/werkzeug
/ functions
Functions
2,000 in github.com/pallets/werkzeug
⨍
Functions
2,000
◇
Types & classes
303
↳
Endpoints
1
Function
_find
Find the *target* in *value* after *pos*. Returns the *value* length if *target* isn't found.
src/werkzeug/routing/rules.py:85
Method
_get_file_stream
Called to get a stream for the file upload. This must provide a file-like class with `read()`, `readline()` and `seek()` methods that
src/werkzeug/wrappers/request.py:201
Method
_get_wsgi_string
(name: str)
src/werkzeug/routing/map.py:335
Method
_handle_match
(match: t.Match[str])
src/werkzeug/routing/map.py:636
Function
_identity
(o: T)
src/werkzeug/local.py:378
Method
_iter_hashitems
(self)
src/werkzeug/datastructures.py:164
Method
_iter_hashitems
(self)
src/werkzeug/datastructures.py:1615
Method
_join
(parts: t.List[ast.AST])
src/werkzeug/routing/rules.py:769
Function
_line_parse
Removes line ending characters and returns a tuple (`stripped_line`, `is_terminated`).
src/werkzeug/formparser.py:333
Method
_match
( state: State, parts: t.List[str], values: t.List[str] )
src/werkzeug/routing/matcher.py:77
Method
_normalize
(name)
src/werkzeug/datastructures.py:1940
Method
_parse_multipart
( self, stream: t.IO[bytes], mimetype: str, content_length: t.Optional[int],
src/werkzeug/formparser.py:276
Method
_parse_urlencoded
( self, stream: t.IO[bytes], mimetype: str, content_length: t.Optional[int],
src/werkzeug/formparser.py:300
Method
_parts
(ops: t.List[t.Tuple[bool, str]])
src/werkzeug/routing/rules.py:746
Method
_path_encode
(x: str)
src/werkzeug/test.py:773
Method
_prop
(self)
tests/test_utils.py:98
Method
_rules
(self)
src/werkzeug/routing/map.py:152
Method
_score_rule
(rule: "Rule")
src/werkzeug/routing/exceptions.py:88
Method
_set_defaults
(opts: t.Dict[str, t.Any])
src/werkzeug/middleware/http_proxy.py:86
Function
_set_value
(self, value)
src/werkzeug/datastructures.py:2748
Method
_specificity
(self, value)
src/werkzeug/datastructures.py:1813
Method
_sync
(self)
examples/cupoftee/network.py:30
Method
_update_state
(state: State)
src/werkzeug/routing/matcher.py:58
Method
_value_matches
(self, value, item)
src/werkzeug/datastructures.py:1816
Method
_value_matches
(self, value, item)
src/werkzeug/datastructures.py:1885
Method
_value_matches
(self, value, item)
src/werkzeug/datastructures.py:1939
Function
abort
Raises an :py:exc:`HTTPException` for the given status code or WSGI application. If a status code is given, it will be looked up in the list
src/werkzeug/exceptions.py:867
Function
about
()
examples/coolmagic/views/static.py:10
Function
about
(req)
examples/i18nurls/views.py:12
Function
about
Show the about page, so that we have another view func ;-)
examples/plnt/views.py:32
Method
accept_charsets
List of charsets this client supports as :class:`~werkzeug.datastructures.CharsetAccept` object.
src/werkzeug/sansio/request.py:389
Method
accept_encodings
List of encodings this client accepts. Encodings in a HTTP term are compression encodings such as gzip. For charsets have a look at
src/werkzeug/sansio/request.py:396
Method
accept_html
True if this object accepts HTML.
src/werkzeug/datastructures.py:1857
Method
accept_json
True if this object accepts JSON.
src/werkzeug/datastructures.py:1869
Method
accept_languages
List of languages this client accepts as :class:`~werkzeug.datastructures.LanguageAccept` object. .. versionchanged 0.5 In
src/werkzeug/sansio/request.py:404
Method
accept_mimetypes
List of mimetypes this client supports as :class:`~werkzeug.datastructures.MIMEAccept` object.
src/werkzeug/sansio/request.py:382
Method
accept_xhtml
True if this object accepts XHTML.
src/werkzeug/datastructures.py:1864
Method
access_control_allow_credentials
Whether credentials can be shared by the browser to JavaScript code. As part of the preflight request it indicates whether credentials
src/werkzeug/sansio/response.py:640
Method
access_route
If a forwarded header exists this is a list of all ip addresses from the client ip to the last proxy server.
src/werkzeug/sansio/request.py:188
Method
add
(self, key, value)
src/werkzeug/datastructures.py:167
Method
add
Adds a new value for the key. .. versionadded:: 0.6 :param key: the key for the value. :param value: the value to add.
src/werkzeug/datastructures.py:385
Method
add
(self, _key, _value, **kw)
src/werkzeug/datastructures.py:1323
Method
add
Add a new header to the set.
src/werkzeug/datastructures.py:2236
Method
add
(self, rule: Rule)
src/werkzeug/routing/matcher.py:36
Method
add_header
Add a new header tuple to the list. An alias for :meth:`add` for compatibility with the :mod:`wsgiref` :meth:`~wsgiref.headers.Header
src/werkzeug/datastructures.py:1122
Method
add_header
(self, _key, _value, **_kw)
src/werkzeug/datastructures.py:1326
Function
additional
()
tests/test_wsgi.py:454
Method
all_frames
(self)
src/werkzeug/debug/tbtools.py:264
Method
all_tracebacks
( self, )
src/werkzeug/debug/tbtools.py:235
Function
app
(request)
tests/test_utils.py:282
Function
app
(environ, start_response)
tests/test_wsgi.py:457
Function
app
(request)
tests/middleware/test_proxy_fix.py:166
Function
app
(request)
tests/live_apps/run.py:15
Function
app
(request)
tests/live_apps/reloader_app.py:17
Function
app
(request)
tests/live_apps/standard_app.py:8
Function
app
(request)
tests/live_apps/streaming_app.py:6
Function
app
(request: Request)
tests/live_apps/data_app.py:8
Function
append_slash_redirect
Redirect to the current URL with a slash appended. If the current URL is ``/user/42``, the redirect URL will be ``42/``. When joined to the c
src/werkzeug/utils.py:292
Function
application
(request)
tests/test_wrappers.py:193
Function
application
(environ, start_response)
examples/upload.py:28
Method
application
( environ: "WSGIEnvironment", start_response: "StartResponse" )
src/werkzeug/local.py:234
Method
application
( environ: "WSGIEnvironment", start_response: "StartResponse" )
src/werkzeug/middleware/http_proxy.py:106
Method
application
Decorate a function as responder that accepts the request as the last argument. This works like the :func:`responder` decorator but t
src/werkzeug/wrappers/request.py:162
Method
args
The URL arguments as :class:`MultiDict`.
src/werkzeug/test.py:680
Method
args
The parsed URL parameters (the part in the URL after the question mark). By default an :class:`~werkzeug.datastructures.Immut
src/werkzeug/sansio/request.py:170
Method
as_set
Return the set as real python set type. When calling this, all the items are converted to lowercase and the ordering is lost. :param
src/werkzeug/datastructures.py:2315
Method
ascii_host
Works exactly like :attr:`host` but will return a result that is restricted to ASCII. If it finds a netloc that is not ASCII it will
src/werkzeug/urls.py:77
Function
asserter
(count, msg=None)
tests/test_datastructures.py:913
Method
auth
The authentication part in the URL if available, `None` otherwise.
src/werkzeug/urls.py:105
Method
authorization
The `Authorization` object in parsed form.
src/werkzeug/sansio/request.py:498
Function
bar
(environ, start_response)
tests/test_test.py:715
Method
base_url
The base URL is used to extract the URL scheme, host name, port, and root path.
src/werkzeug/test.py:515
Method
base_url
Like :attr:`url` but without the query string.
src/werkzeug/sansio/request.py:221
Method
best
The best match as value.
src/werkzeug/datastructures.py:1795
Method
bind_f
(instance: "LocalProxy", obj: t.Any)
src/werkzeug/local.py:359
Function
blog_index
(req)
examples/i18nurls/views.py:17
Function
blog_show
(req, post_id)
examples/i18nurls/views.py:22
Function
broken
()
examples/coolmagic/views/static.py:15
Method
cache_control
The Cache-Control general-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/r
src/werkzeug/sansio/response.py:484
Method
cache_control
A :class:`~werkzeug.datastructures.RequestCacheControl` object for the incoming cache control headers.
src/werkzeug/sansio/request.py:417
Method
catching_start_response
(status, headers, exc_info=None)
src/werkzeug/middleware/profiler.py:98
Method
checking_start_response
( *args: t.Any, **kwargs: t.Any )
src/werkzeug/middleware/lint.py:394
Method
cleanup
Release the data in the locals for this context. Call this at the end of each request or use :meth:`make_middleware`.
src/werkzeug/local.py:222
Method
clear
(self)
src/werkzeug/datastructures.py:149
Method
clear
Clear the set.
src/werkzeug/datastructures.py:2308
Function
close
()
tests/conftest.py:121
Method
close
(self)
src/werkzeug/wsgi.py:502
Method
close
(self)
src/werkzeug/wsgi.py:664
Method
close
(self)
src/werkzeug/middleware/lint.py:114
Method
close
(self)
src/werkzeug/middleware/lint.py:163
Method
close
(self)
src/werkzeug/wrappers/response.py:867
Method
close
(self)
tests/test_test.py:397
Method
close
(self)
tests/test_test.py:706
Method
close
(self)
tests/test_test.py:743
Method
cnonce
If the server sent a qop-header in the ``WWW-Authenticate`` header, the client has to provide this value for HTTP digest auth. See the
src/werkzeug/datastructures.py:2689
Method
connect
(self)
tests/conftest.py:19
Method
console
(self)
src/werkzeug/debug/tbtools.py:374
Method
content_length
The content length as integer. Reflected from and to the :attr:`headers`. Do not set if you set :attr:`files` or :attr:`form` for au
src/werkzeug/test.py:586
Method
content_length
The content-length sent in the header. Usually not available
src/werkzeug/datastructures.py:2948
Method
content_length
The Content-Length entity-header field indicates the size of the entity-body in bytes or, in the case of the HEAD method, the size of
src/werkzeug/sansio/request.py:270
← previous
next →
1,001–1,100 of 2,000, ranked by callers