MCPcopy Create free account

hub / github.com/pallets/werkzeug / types & classes

Types & classes303 in github.com/pallets/werkzeug

↓ 35 callersClassClient
This class allows you to send requests to a wrapped application. The use_cookies parameter indicates whether cookies should be stored and sen
src/werkzeug/test.py:843
↓ 32 callersClassResponse
Represents an outgoing WSGI HTTP response with body, status, and headers. Has properties and methods for using the functionality defined by va
src/werkzeug/wrappers/response.py:67
↓ 17 callersClassHeaders
An object that stores some headers. It has a dict-like interface, but is ordered, can store the same key multiple times, and iterating yields
src/werkzeug/datastructures.py:848
↓ 16 callersClassEnvironBuilder
This class can be used to conveniently create a WSGI environment for testing purposes. It can be used to quickly create WSGI environments or
src/werkzeug/test.py:242
↓ 14 callersClassNotFound
*404* `Not Found` Raise if a resource does not exist and never existed.
src/werkzeug/exceptions.py:341
↓ 14 callersClassRule
A Rule represents one URL pattern. There are some options for `Rule` that change the way it behaves and are passed to the `Rule` constructor.
src/werkzeug/routing/rules.py:310
↓ 13 callersClassMultiDict
A :class:`MultiDict` is a dictionary subclass customized to deal with multiple values for the same key which is for example used by the parsing
src/werkzeug/datastructures.py:289
↓ 12 callersClassRequest
Represents an incoming WSGI HTTP request, with headers and body taken from the WSGI environment. Has properties and methods for using the func
src/werkzeug/wrappers/request.py:29
↓ 10 callersClassResponse
Represents the non-IO parts of an HTTP response, specifically the status and headers but not the body. This class is not meant for general us
src/werkzeug/sansio/response.py:63
↓ 10 callersClassSharedDataMiddleware
A WSGI middleware which provides static content for development environments or simple server setups. Its usage is quite simple:: import
src/werkzeug/middleware/shared_data.py:38
↓ 9 callersClassExample
tests/test_local.py:235
↓ 9 callersClassMap
The map class stores all the URL rules and some configuration parameters. Some of the configuration values are only stored on the `Map` insta
src/werkzeug/routing/map.py:41
↓ 9 callersClassResponse
Encapsulates a WSGI response. Unlike the default response object werkzeug provides, this accepts a genshi stream and will automatically rend
examples/simplewiki/utils.py:82
↓ 8 callersClassClosingIterator
The WSGI specification requires that all middlewares and gateways respect the `close` callback of the iterable returned by the application. Be
src/werkzeug/wsgi.py:454
↓ 6 callersClassDebugTraceback
src/werkzeug/debug/tbtools.py:218
↓ 5 callersClassLintMiddleware
Warns about common errors in the WSGI and HTTP behavior of the server and wrapped application. Some of the issues it checks are: - invalid
src/werkzeug/middleware/lint.py:210
↓ 5 callersClassLocal
Create a namespace of context-local data. This wraps a :class:`ContextVar` containing a :class:`dict` value. This may incur a performance pen
src/werkzeug/local.py:33
↓ 5 callersClassLocalManager
Manage releasing the data for the current context in one or more :class:`Local` and :class:`LocalStack` objects. This should not be needed fo
src/werkzeug/local.py:186
↓ 4 callersClassA
tests/test_utils.py:82
↓ 4 callersClassFileStorage
The :class:`FileStorage` class is a thin wrapper over incoming files. It is used by the request object to represent uploaded files. All the a
src/werkzeug/datastructures.py:2894
↓ 4 callersClassRequest
Represents the non-IO parts of a HTTP request, including the method, URL info, and headers. This class is not meant for general use. It shoul
src/werkzeug/sansio/request.py:38
↓ 4 callersClassTemplateResponse
examples/i18nurls/application.py:48
↓ 3 callersClassBadRequest
*400* `Bad Request` Raise if the browser sends something to the application the application or server cannot handle.
src/werkzeug/exceptions.py:174
↓ 3 callersClassData
src/werkzeug/sansio/multipart.py:40
↓ 3 callersClassDebugReprGenerator
src/werkzeug/debug/repr.py:121
↓ 3 callersClassEnvironHeaders
Read only version of the headers from a WSGI environment. This provides the same interface as `Headers` and is constructed from a WSGI enviro
src/werkzeug/datastructures.py:1354
↓ 3 callersClassEpilogue
src/werkzeug/sansio/multipart.py:46
↓ 3 callersClassField
src/werkzeug/sansio/multipart.py:27
↓ 3 callersClassFile
src/werkzeug/sansio/multipart.py:33
↓ 3 callersClassFoo
tests/test_debug.py:164
↓ 3 callersClassFormDataParser
This class implements parsing of form data for Werkzeug. By itself it can parse multipart and url encoded form data. It can be subclassed an
src/werkzeug/formparser.py:156
↓ 3 callersClassHTMLStringO
A StringO version that HTML escapes on write.
src/werkzeug/debug/console.py:20
↓ 3 callersClassMultipartDecoder
Decodes a multipart message as bytes into Python events. The part data is returned as available to allow the caller to save the data from mem
src/werkzeug/sansio/multipart.py:79
↓ 3 callersClassOrderedMultiDict
Works like a regular :class:`MultiDict` but preserves the order of the fields. To convert the ordered multi dict into a list you can use the
src/werkzeug/datastructures.py:653
↓ 3 callersClassPreamble
src/werkzeug/sansio/multipart.py:22
↓ 2 callersClassAccept
An :class:`Accept` object is just a list subclass for lists of ``(value, quality)`` tuples. It is automatically sorted by specificity and qua
src/werkzeug/datastructures.py:1629
↓ 2 callersClassAuthorization
Represents an ``Authorization`` header sent by the client. This is returned by :func:`~werkzeug.http.parse_authorization_header`. It can be u
src/werkzeug/datastructures.py:2631
↓ 2 callersClassCallbackDict
A dict that calls a function passed every time something is changed. The function is passed the dict instance.
src/werkzeug/datastructures.py:2205
↓ 2 callersClassCombinedMultiDict
A read only :class:`MultiDict` that you can pass multiple :class:`MultiDict` instances as sequence and it will combine the return values of all wr
src/werkzeug/datastructures.py:1405
↓ 2 callersClassConsole
An interactive console.
src/werkzeug/debug/console.py:202
↓ 2 callersClassContentRange
Represents the content range header. .. versionadded:: 0.7
src/werkzeug/datastructures.py:2573
↓ 2 callersClassContentSecurityPolicy
Subclass of a dict that stores values for a Content Security Policy header. It has accessors for all the level 3 policies. Because the csp di
src/werkzeug/datastructures.py:2129
↓ 2 callersClassCouchy
examples/couchy/application.py:16
↓ 2 callersClassDebuggedApplication
Enables debugging support for a given application:: from werkzeug.debug import DebuggedApplication from myapp import app app
src/werkzeug/debug/__init__.py:223
↓ 2 callersClassHTTPException
The base class for all HTTP exceptions. This exception can be called as a WSGI application to render a default error page or you can catch the sub
src/werkzeug/exceptions.py:64
↓ 2 callersClassInternalServerError
*500* `Internal Server Error` Raise if an internal server error occurred. This is a good fallback if an unknown error occurred in the dispat
src/werkzeug/exceptions.py:712
↓ 2 callersClassLimitedStream
Wraps a stream so that it doesn't read more than n bytes. If the stream is exhausted and the caller tries to get more bytes from it :func:`on
src/werkzeug/wsgi.py:864
↓ 2 callersClassLocalProxy
A proxy to the object bound to a context-local object. All operations on the proxy are forwarded to the bound object. If no object is bound, a
src/werkzeug/local.py:382
↓ 2 callersClassMethodNotAllowed
*405* `Method Not Allowed` Raise if the server used a method the resource does not handle. For example `POST` if the resource is view only.
src/werkzeug/exceptions.py:354
↓ 2 callersClassMultipartEncoder
src/werkzeug/sansio/multipart.py:256
↓ 2 callersClassRequestEntityTooLarge
*413* `Request Entity Too Large` The status code one should return if the data submitted exceeded a given limit.
src/werkzeug/exceptions.py:477
↓ 2 callersClassResponse
The concrete response object for the WSGI application.
examples/coolmagic/utils.py:85
↓ 2 callersClassResponse
examples/i18nurls/application.py:44
↓ 2 callersClassRevision
Represents one revision of a page. This is useful for editing particular revision of pages or creating new revisions. It's also used for
examples/simplewiki/database.py:63
↓ 2 callersClassRulePart
A part of a rule. Rules can be represented by parts as delimited by `/` with instances of this class representing those parts. The *content*
src/werkzeug/routing/rules.py:26
↓ 2 callersClassState
A representation of a rule state. This includes the *rules* that correspond to the state and the possible *static* and *dynamic* transitions
src/werkzeug/routing/matcher.py:19
↓ 2 callersClassSubmount
Like `Subdomain` but prefixes the URL rule with a given string:: url_map = Map([ Rule('/', endpoint='index'), Submoun
src/werkzeug/routing/rules.py:171
↓ 2 callersClassWeighting
src/werkzeug/routing/rules.py:18
↓ 2 callersClass_RangeWrapper
This class can be used to convert an iterable object into an iterable that will only yield a piece of the underlying content. It yields blocks
src/werkzeug/wsgi.py:582
↓ 2 callersClassheader_property
Like `environ_property` but for headers.
src/werkzeug/utils.py:152
↓ 1 callersClassAborter
When passed a dict of code -> exception items it can be used as callable that raises exceptions. If the first argument to the callable is an
src/werkzeug/exceptions.py:833
↓ 1 callersClassApplication
examples/httpbasicauth.py:9
↓ 1 callersClassBadGateway
*502* `Bad Gateway` If you do proxying in your application you should return this status code if you received an invalid response from the up
src/werkzeug/exceptions.py:753
↓ 1 callersClassBadHost
Raised if the submitted host is badly formatted. .. versionadded:: 0.11.2
src/werkzeug/exceptions.py:245
↓ 1 callersClassBaseWSGIServer
A WSGI server that that handles one request at a time. Use :func:`make_server` to create a server instance.
src/werkzeug/serving.py:651
↓ 1 callersClassBlog
examples/plnt/database.py:53
↓ 1 callersClassBuildError
Raised if the build system cannot find a URL for an endpoint with the values provided.
src/werkzeug/routing/exceptions.py:65
↓ 1 callersClassBytesURL
Represents a parsed URL in bytes.
src/werkzeug/urls.py:355
↓ 1 callersClassCOEP
Cross Origin Embedder Policies
src/werkzeug/http.py:178
↓ 1 callersClassCOOP
Cross Origin Opener Policies
src/werkzeug/http.py:185
↓ 1 callersClassCharsetAccept
Like :class:`Accept` but with normalization for charsets.
src/werkzeug/datastructures.py:1936
↓ 1 callersClassClientDisconnected
Internal exception that is raised if Werkzeug detects a disconnected client. Since the client is already gone at that point attempting to sen
src/werkzeug/exceptions.py:222
↓ 1 callersClassClientRedirectError
If a redirect loop is detected when using follow_redirects=True with the :cls:`Client`, then this exception is raised.
src/werkzeug/test.py:837
↓ 1 callersClassCloseIter
tests/test_test.py:699
↓ 1 callersClassCoolMagicApplication
The application class. It's passed a directory with configuration values.
examples/coolmagic/application.py:21
↓ 1 callersClassCup
examples/cupoftee/application.py:80
↓ 1 callersClassCustomRule
tests/test_routing.py:1239
↓ 1 callersClassDatabase
examples/cupoftee/db.py:10
↓ 1 callersClassDebugFrameSummary
A :class:`traceback.FrameSummary` that can evaluate code in the frame's namespace.
src/werkzeug/debug/tbtools.py:338
↓ 1 callersClassDechunkedInput
An input stream that handles Transfer-Encoding 'chunked
src/werkzeug/serving.py:86
↓ 1 callersClassDevServerClient
tests/conftest.py:24
↓ 1 callersClassDispatcherMiddleware
Combine multiple applications as a single WSGI application. Requests are dispatched to an application based on the path it is mounted under.
src/werkzeug/middleware/dispatcher.py:41
↓ 1 callersClassEndpointPrefix
Prefixes all endpoints (which must be strings for this factory) with another string. This can be useful for sub applications:: url_map =
src/werkzeug/routing/rules.py:197
↓ 1 callersClassEntry
examples/plnt/database.py:66
↓ 1 callersClassErrorStream
src/werkzeug/middleware/lint.py:99
↓ 1 callersClassEventHandler
src/werkzeug/_reloader.py:312
↓ 1 callersClassFoo
tests/test_local.py:433
↓ 1 callersClassForkingWSGIServer
A WSGI server that handles concurrent requests in separate forked processes. Use :func:`make_server` to create a server instance.
src/werkzeug/serving.py:826
↓ 1 callersClassGuardedIterator
src/werkzeug/middleware/lint.py:130
↓ 1 callersClassGuardedWrite
src/werkzeug/middleware/lint.py:119
↓ 1 callersClassImmutableDict
An immutable :class:`dict`. .. versionadded:: 0.5
src/werkzeug/datastructures.py:1572
↓ 1 callersClassImportStringError
Provides information about a failed :func:`import_string` attempt.
src/werkzeug/utils.py:667
↓ 1 callersClassInputStream
src/werkzeug/middleware/lint.py:47
↓ 1 callersClassIterable
tests/test_test.py:737
↓ 1 callersClassIterable
tests/test_wrappers.py:278
↓ 1 callersClassLanguageAccept
Like :class:`Accept` but with normalization for language tags.
src/werkzeug/datastructures.py:1882
↓ 1 callersClassLowercasingStream
tests/test_wrappers.py:455
↓ 1 callersClassMIMEAccept
Like :class:`Accept` but with special methods and behavior for mimetypes.
src/werkzeug/datastructures.py:1808
↓ 1 callersClassMapAdapter
Returned by :meth:`Map.bind` or :meth:`Map.bind_to_environ` and does the URL matching and building based on runtime information.
src/werkzeug/routing/map.py:376
↓ 1 callersClassMiddleware
tests/test_test.py:521
next →1–100 of 303, ranked by callers