Skip to content
Myr

fixing cross-reference links on API doc page

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by matt swanson · committed by matt swanson · parent 00c5b7a · Browse files · 1 file+10 added−10 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+10 added−10 removed

  • other:+10 added−10 removed

1 file+10 added−10 removed

modified:docs/api.rst+10 added-10 removed
38 unmodified lines
39 are in a multithreaded environment.4041 This is a proxy. See :ref:`notes-on-proxies` for more information.4243 The request object is an instance of a :class:`~werkzeug.Request`43 The request object is an instance of a :class:`~werkzeug.wrappers.Request`44 subclass and provides all of the attributes Werkzeug defines. This45 just shows a quick overview of the most important ones.4647 .. attribute:: form4849 A :class:`~werkzeug.MultiDict` with the parsed form data from `POST`49 A :class:`~werkzeug.datastructures.MultiDict` with the parsed form data from `POST`50 or `PUT` requests. Please keep in mind that file uploads will not51 end up here, but instead in the :attr:`files` attribute.5253 .. attribute:: args5455 A :class:`~werkzeug.MultiDict` with the parsed contents of the query55 A :class:`~werkzeug.datastructures.MultiDict` with the parsed contents of the query56 string. (The part in the URL after the question mark).5758 .. attribute:: values5960 A :class:`~werkzeug.CombinedMultiDict` with the contents of both60 A :class:`~werkzeug.datastructures.CombinedMultiDict` with the contents of both61 :attr:`form` and :attr:`args`.6263 .. attribute:: cookies64
13 unmodified lines
78 a mimetype Flask does not handle.7980 .. attribute:: files8182 A :class:`~werkzeug.MultiDict` with files uploaded as part of a82 A :class:`~werkzeug.datastructures.MultiDict` with files uploaded as part of a83 `POST` or `PUT` request. Each file is stored as84 :class:`~werkzeug.FileStorage` object. It basically behaves like a84 :class:`~werkzeug.datastructures.FileStorage` object. It basically behaves like a85 standard file object you know from Python, with the difference that86 it also has a :meth:`~werkzeug.FileStorage.save` function that can86 it also has a :meth:`~werkzeug.datastructures.FileStorage.save` function that can87 store the file on the filesystem.8889 .. attribute:: environ90
136 unmodified lines
227.. autofunction:: url_for228229.. function:: abort(code)230231 Raises an :exc:`~werkzeug.exception.HTTPException` for the given231 Raises an :exc:`~werkzeug.exceptions.HTTPException` for the given232 status code. For example to abort request handling with a page not233 found exception, you would call ``abort(404)``.234235 :param code: the HTTP error code.
71 unmodified lines
307----------------308309.. data:: _request_ctx_stack310311 The internal :class:`~werkzeug.LocalStack` that is used to implement311 The internal :class:`~werkzeug.local.LocalStack` that is used to implement312 all the context local objects used in Flask. This is a documented313 instance and can be used by extensions and application code but the314 use is discouraged in general.315
118 unmodified lines
434- if the object reference is important (so for example for sending435 :ref:`signals`)436437If you need to get access to the underlying object that is proxied, you438can use the :meth:`~werkzeug.LocalProxy._get_current_object` method::438can use the :meth:`~werkzeug.local.LocalProxy._get_current_object` method::439440 app = current_app._get_current_object()441 my_signal.send(app)