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
test_static_regex_escape
()
tests/test_routing.py:1480
Function
test_storage_classes
()
tests/test_wrappers.py:1044
Function
test_stream_content_length
()
tests/test_wrappers.py:1132
Function
test_stream_decoding_string_fails
()
tests/test_urls.py:107
Function
test_stream_wrapping
()
tests/test_wrappers.py:454
Function
test_stream_zip
()
tests/test_wrappers.py:1230
Function
test_streamed_url_encoding
()
tests/test_urls.py:137
Function
test_streaming_chunked_response
When using HTTP/1.1, use Transfer-Encoding: chunked for streamed responses, since it can distinguish the end of the response without closing t
tests/test_serving.py:272
Function
test_streaming_chunked_truncation
When using HTTP/1.1, chunked encoding allows the client to detect content truncated by a prematurely closed connection.
tests/test_serving.py:286
Function
test_streaming_close_response
When using HTTP/1.0, chunked encoding is not supported. Fall back to Connection: close, but this allows no reliable way to distinguish between
tests/test_serving.py:260
Function
test_strict_slashes_false
()
tests/test_routing.py:1437
Function
test_strict_slashes_leaves_dont_consume
()
tests/test_routing.py:215
Function
test_strict_slashes_redirect
()
tests/test_routing.py:160
Method
test_string_repr
(self)
tests/test_debug.py:31
Method
test_string_subclass_repr
(self)
tests/test_debug.py:43
Function
test_text_mode_fails
(file_factory)
tests/test_send_file.py:70
Method
test_to_wsgi_list
(self)
tests/test_datastructures.py:787
Method
test_to_wsgi_list_bytes
(self)
tests/test_datastructures.py:794
Function
test_type_forcing
()
tests/test_wrappers.py:359
Function
test_unauthorized_www_authenticate
()
tests/test_exceptions.py:98
Function
test_unicode_rules
()
tests/test_routing.py:1181
Function
test_untrusted_host
(standard_app)
tests/test_serving.py:51
Method
test_update
(self)
tests/test_datastructures.py:757
Function
test_uri_iri_normalization
()
tests/test_urls.py:358
Function
test_uri_to_iri_dont_unquote_space
()
tests/test_urls.py:380
Function
test_uri_to_iri_idempotence_ascii_only
()
tests/test_urls.py:334
Function
test_uri_to_iri_idempotence_non_ascii
()
tests/test_urls.py:340
Function
test_uri_to_iri_to_uri
()
tests/test_urls.py:352
Function
test_url_attributes
()
tests/test_urls.py:274
Function
test_url_attributes_bytes
()
tests/test_urls.py:293
Function
test_url_bytes_decoding
()
tests/test_urls.py:100
Function
test_url_charset_reflection
()
tests/test_wrappers.py:878
Function
test_url_decoding
()
tests/test_urls.py:85
Function
test_url_encoding
()
tests/test_urls.py:111
Function
test_url_fixing
()
tests/test_urls.py:157
Function
test_url_fixing_filepaths
()
tests/test_urls.py:168
Function
test_url_fixing_qs
()
tests/test_urls.py:187
Function
test_url_joining
()
tests/test_urls.py:308
Function
test_url_request_descriptors
()
tests/test_wrappers.py:122
Function
test_url_request_descriptors_hosts
()
tests/test_wrappers.py:146
Function
test_url_request_descriptors_query_quoting
()
tests/test_wrappers.py:138
Function
test_url_unquote_plus_unicode
()
tests/test_urls.py:264
Function
test_urlfication
()
tests/test_wrappers.py:945
Function
test_user_agent
()
tests/test_wrappers.py:446
Function
test_uuid_converter
()
tests/test_routing.py:746
Method
test_value_conversion
(self)
tests/test_datastructures.py:548
Function
test_values
()
tests/test_wrappers.py:1029
Function
test_weighting
()
tests/test_routing.py:1422
Function
test_windows_get_args_for_reloading
(monkeypatch, tmp_path)
tests/test_serving.py:118
Function
test_wrapper_internals
()
tests/test_internal.py:19
Function
test_write_length
()
tests/test_wrappers.py:1224
Function
test_wrong_protocol
An HTTPS request to an HTTP server doesn't show a traceback. https://github.com/pallets/werkzeug/pull/838
tests/test_serving.py:141
Method
test_www_authenticate_header
(self)
tests/test_http.py:200
Function
test_x_sendfile
()
tests/test_send_file.py:30
Method
to_dict
Return the contents as regular dict. If `flat` is `True` the returned dict will only have the first item present, if `flat` is `False
src/werkzeug/datastructures.py:1511
Method
to_header
Convert to a header value.
src/werkzeug/user_agent.py:45
Method
to_iri_tuple
Returns a :class:`URL` tuple that holds a IRI. This will try to decode as much information as possible in the URL without losing info
src/werkzeug/urls.py:219
Method
to_python
(self, value: str)
src/werkzeug/routing/converters.py:145
Method
to_python
(self, value: str)
src/werkzeug/routing/converters.py:241
Method
to_python
(self, two_values)
tests/test_routing.py:765
Method
to_uri_tuple
Returns a :class:`BytesURL` tuple that holds a URI. This will encode all the information in the URL properly to ASCII using the rules
src/werkzeug/urls.py:209
Method
to_url
(self, value: t.Any)
src/werkzeug/routing/converters.py:30
Method
to_url
(self, value: t.Any)
src/werkzeug/routing/converters.py:155
Method
to_url
(self, value: uuid.UUID)
src/werkzeug/routing/converters.py:244
Method
to_url
(self, values)
tests/test_routing.py:769
Method
to_url
(self, value: t.Any)
tests/test_routing.py:821
Method
top
The topmost item on the stack. If the stack is empty, `None` is returned.
src/werkzeug/local.py:161
Method
trace
Call :meth:`open` with ``method`` set to ``TRACE``.
src/werkzeug/test.py:1173
Method
trigger_reload
(self, filename: str)
src/werkzeug/_reloader.py:338
Method
update
(self, *args, **kwargs)
src/werkzeug/datastructures.py:134
Method
update
update() extends rather than replaces existing key lists: >>> a = MultiDict({'x': 1}) >>> b = MultiDict({'x': 2, 'y': 3}) >>>
src/werkzeug/datastructures.py:534
Method
update
(self, mapping)
src/werkzeug/datastructures.py:787
Method
update
(self, *args, **kwargs)
src/werkzeug/datastructures.py:1335
Method
update_server_browser
(self)
examples/cupoftee/application.py:90
Method
uri
The URI from Request-URI of the Request-Line; duplicated because proxies are allowed to change the Request-Line in transit. HTTP dige
src/werkzeug/datastructures.py:2674
Method
url
The full request URL with the scheme, host, root path, path, and query string.
src/werkzeug/sansio/request.py:213
Method
url_charset
The charset that is assumed for URLs. Defaults to the value of :attr:`charset`. .. versionadded:: 0.6
src/werkzeug/sansio/request.py:161
Function
url_encode_stream
Like :meth:`url_encode` but writes the results to a stream object. If the stream is `None` a generator over all encoded pairs is returned.
src/werkzeug/urls.py:960
Function
url_for
Build a URL
examples/coolmagic/utils.py:49
Method
url_for
(self, endpoint, **args)
examples/i18nurls/application.py:33
Method
url_root
Alias for :attr:`root_url`. The URL with scheme, host, and root path. For example, ``https://example.com/app/``.
src/werkzeug/wrappers/request.py:499
Method
user_agent
The user agent. Use ``user_agent.string`` to get the header value. Set :attr:`user_agent_class` to a subclass of :class:`~werkzeug.use
src/werkzeug/sansio/request.py:482
Method
username
The username if it was part of the URL, `None` otherwise. This undergoes URL decoding and will always be a string.
src/werkzeug/urls.py:112
Method
username
The username transmitted. This is set for both basic and digest auth all the time.
src/werkzeug/datastructures.py:2648
Method
values
Returns an iterator of the first value on every key's value list.
src/werkzeug/datastructures.py:497
Method
values
(self)
src/werkzeug/datastructures.py:731
Method
values
(self)
src/werkzeug/datastructures.py:1003
Method
values
(self)
src/werkzeug/datastructures.py:1485
Method
want_form_data_parsed
``True`` if the request method carries content. By default this is true if a ``Content-Type`` is sent. .. versionadded:: 0.8
src/werkzeug/wrappers/request.py:235
Function
websocket
(request)
examples/wsecho.py:20
Function
wrapped
(*args, **kwargs)
tests/test_datastructures.py:918
Function
wrapped
(f)
examples/coolmagic/utils.py:30
Function
wrapped
(f)
examples/i18nurls/application.py:20
Function
wrapper
(self, stream, *args, **kwargs)
src/werkzeug/formparser.py:138
Method
write
(self, data: str)
src/werkzeug/debug/console.py:198
Method
writelines
(self, seq: t.Iterable[str])
src/werkzeug/middleware/lint.py:110
Method
writelines
(self, seq: t.Iterable[bytes])
src/werkzeug/wrappers/response.py:863
Function
wsgi_application
(environ, start_response)
tests/test_wrappers.py:360
Method
www_authenticate
The ``WWW-Authenticate`` header in a parsed form.
src/werkzeug/sansio/response.py:556
Function
yielding_app
(environ, start_response)
tests/test_test.py:635
← previous
1,901–2,000 of 2,000, ranked by callers