MCPcopy Create free account

hub / github.com/pallets/werkzeug / functions

Functions2,000 in github.com/pallets/werkzeug

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
Functionabort
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
Functionabout
()
examples/coolmagic/views/static.py:10
Functionabout
(req)
examples/i18nurls/views.py:12
Functionabout
Show the about page, so that we have another view func ;-)
examples/plnt/views.py:32
Methodaccept_charsets
List of charsets this client supports as :class:`~werkzeug.datastructures.CharsetAccept` object.
src/werkzeug/sansio/request.py:389
Methodaccept_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
Methodaccept_html
True if this object accepts HTML.
src/werkzeug/datastructures.py:1857
Methodaccept_json
True if this object accepts JSON.
src/werkzeug/datastructures.py:1869
Methodaccept_languages
List of languages this client accepts as :class:`~werkzeug.datastructures.LanguageAccept` object. .. versionchanged 0.5 In
src/werkzeug/sansio/request.py:404
Methodaccept_mimetypes
List of mimetypes this client supports as :class:`~werkzeug.datastructures.MIMEAccept` object.
src/werkzeug/sansio/request.py:382
Methodaccept_xhtml
True if this object accepts XHTML.
src/werkzeug/datastructures.py:1864
Methodaccess_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
Methodaccess_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
Methodadd
(self, key, value)
src/werkzeug/datastructures.py:167
Methodadd
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
Methodadd
(self, _key, _value, **kw)
src/werkzeug/datastructures.py:1323
Methodadd
Add a new header to the set.
src/werkzeug/datastructures.py:2236
Methodadd
(self, rule: Rule)
src/werkzeug/routing/matcher.py:36
Methodadd_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
Methodadd_header
(self, _key, _value, **_kw)
src/werkzeug/datastructures.py:1326
Functionadditional
()
tests/test_wsgi.py:454
Methodall_frames
(self)
src/werkzeug/debug/tbtools.py:264
Methodall_tracebacks
( self, )
src/werkzeug/debug/tbtools.py:235
Functionapp
(request)
tests/test_utils.py:282
Functionapp
(environ, start_response)
tests/test_wsgi.py:457
Functionapp
(request)
tests/middleware/test_proxy_fix.py:166
Functionapp
(request)
tests/live_apps/run.py:15
Functionapp
(request)
tests/live_apps/reloader_app.py:17
Functionapp
(request)
tests/live_apps/standard_app.py:8
Functionapp
(request)
tests/live_apps/streaming_app.py:6
Functionapp
(request: Request)
tests/live_apps/data_app.py:8
Functionappend_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
Functionapplication
(request)
tests/test_wrappers.py:193
Functionapplication
(environ, start_response)
examples/upload.py:28
Methodapplication
( environ: "WSGIEnvironment", start_response: "StartResponse" )
src/werkzeug/local.py:234
Methodapplication
( environ: "WSGIEnvironment", start_response: "StartResponse" )
src/werkzeug/middleware/http_proxy.py:106
Methodapplication
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
Methodargs
The URL arguments as :class:`MultiDict`.
src/werkzeug/test.py:680
Methodargs
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
Methodas_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
Methodascii_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
Functionasserter
(count, msg=None)
tests/test_datastructures.py:913
Methodauth
The authentication part in the URL if available, `None` otherwise.
src/werkzeug/urls.py:105
Methodauthorization
The `Authorization` object in parsed form.
src/werkzeug/sansio/request.py:498
Functionbar
(environ, start_response)
tests/test_test.py:715
Methodbase_url
The base URL is used to extract the URL scheme, host name, port, and root path.
src/werkzeug/test.py:515
Methodbase_url
Like :attr:`url` but without the query string.
src/werkzeug/sansio/request.py:221
Methodbest
The best match as value.
src/werkzeug/datastructures.py:1795
Methodbind_f
(instance: "LocalProxy", obj: t.Any)
src/werkzeug/local.py:359
Functionblog_index
(req)
examples/i18nurls/views.py:17
Functionblog_show
(req, post_id)
examples/i18nurls/views.py:22
Functionbroken
()
examples/coolmagic/views/static.py:15
Methodcache_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
Methodcache_control
A :class:`~werkzeug.datastructures.RequestCacheControl` object for the incoming cache control headers.
src/werkzeug/sansio/request.py:417
Methodcatching_start_response
(status, headers, exc_info=None)
src/werkzeug/middleware/profiler.py:98
Methodchecking_start_response
( *args: t.Any, **kwargs: t.Any )
src/werkzeug/middleware/lint.py:394
Methodcleanup
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
Methodclear
(self)
src/werkzeug/datastructures.py:149
Methodclear
Clear the set.
src/werkzeug/datastructures.py:2308
Functionclose
()
tests/conftest.py:121
Methodclose
(self)
src/werkzeug/wsgi.py:502
Methodclose
(self)
src/werkzeug/wsgi.py:664
Methodclose
(self)
src/werkzeug/middleware/lint.py:114
Methodclose
(self)
src/werkzeug/middleware/lint.py:163
Methodclose
(self)
src/werkzeug/wrappers/response.py:867
Methodclose
(self)
tests/test_test.py:397
Methodclose
(self)
tests/test_test.py:706
Methodclose
(self)
tests/test_test.py:743
Methodcnonce
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
Methodconnect
(self)
tests/conftest.py:19
Methodconsole
(self)
src/werkzeug/debug/tbtools.py:374
Methodcontent_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
Methodcontent_length
The content-length sent in the header. Usually not available
src/werkzeug/datastructures.py:2948
Methodcontent_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
← previousnext →1,001–1,100 of 2,000, ranked by callers