Falcon v3.0.0 Documentationwith more optimized alternatives such as uvloop (a faster event loop), httptools (a faster HTTP protocol implementation) etc: $ pip install uvicorn[standard] See also a longer explanation on Uvicorn’s “traditional”, synchronous flavor of Falcon using the WSGI [https://www.python.org/dev/peps/pep-3333/] protocol. Developing an async application? Check out our ASGI tutorial instead! First Steps The first well-defined signature so that you can host the application with any web server that understands the WSGI protocol [http://legacy.python.org/dev/peps/pep-3333/]. Next let’s take a look at the falcon.App class0 码力 | 1055 页 | 739.30 KB | 1 年前3
Falcon v3.0.1 Documentationwith more optimized alternatives such as uvloop (a faster event loop), httptools (a faster HTTP protocol implementation) etc: $ pip install uvicorn[standard] See also a longer explanation on Uvicorn’s “traditional”, synchronous flavor of Falcon using the WSGI [https://www.python.org/dev/peps/pep-3333/] protocol. Developing an async application? Check out our ASGI tutorial instead! First Steps The first well-defined signature so that you can host the application with any web server that understands the WSGI protocol [http://legacy.python.org/dev/peps/pep-3333/]. Next let’s take a look at the falcon.App class0 码力 | 1058 页 | 741.59 KB | 1 年前3
Falcon v3.0.0-b2 Documentationwith more optimized alternatives such as uvloop (a faster event loop), httptools (a faster HTTP protocol implementation) etc: $ pip install uvicorn[standard] See also a longer explanation on Uvicorn’s “traditional”, synchronous flavor of Falcon using the WSGI [https://www.python.org/dev/peps/pep-3333/] protocol. Developing an async application? Check out our ASGI tutorial instead! First Steps The first well-defined signature so that you can host the application with any web server that understands the WSGI protocol [http://legacy.python.org/dev/peps/pep-3333/]. Next let’s take a look at the falcon.App class0 码力 | 1041 页 | 730.21 KB | 1 年前3
Falcon v3.0.0-b1 Documentation“traditional”, synchronous flavor of Falcon using the WSGI [https://www.python.org/dev/peps/pep-3333/] protocol. Developing an async application? Check out our ASGI tutorial instead! First Steps The first well-defined signature so that you can host the application with any web server that understands the WSGI protocol [http://legacy.python.org/dev/peps/pep-3333/]. Next let’s take a look at the falcon.App class covers the asynchronous flavor of Falcon using the ASGI [https://asgi.readthedocs.io/en/latest/] protocol. Synchronous (WSGI [https://www.python.org/dev/peps/pep-3333/]) Falcon application development0 码力 | 1028 页 | 725.86 KB | 1 年前3
Falcon v1.2.0 Documentationwell-defined signature so that you can host the application with any web server that understands the WSGI protocol [http://legacy.python.org/dev/peps/pep-3333/]. Next let’s take a look at the falcon.API class (dict) – Set of global options passed from the API handler. scheme str – Either ‘http’ or ‘https’. protocol str – Deprecated alias for scheme. Will be removed in a future release. method str – HTTP method path='/', query_string=None, headers=None, body=None, file_wrapper=None, params=None, params_csv=True, protocol='http') Simulates a request to a WSGI application. Performs a request against a WSGI application0 码力 | 177 页 | 252.56 KB | 1 年前3
Falcon v1.2.0 Documentationwell-defined signature so that you can host the application with any web server that understands the WSGI protocol. Next let’s take a look at the falcon.API class. Install IPython and fire it up: $ pip install (dict) – Set of global options passed from the API handler. scheme str – Either ‘http’ or ‘https’. protocol str – Deprecated alias for scheme. Will be removed in a future release. method str – HTTP method query_string=None, head- ers=None, body=None, file_wrapper=None, params=None, params_csv=True, protocol=’http’) Simulates a request to a WSGI application. 106 Chapter 6. Documentation Falcon Documentation0 码力 | 134 页 | 498.46 KB | 1 年前3
Falcon v1.3.0 Documentationwell-defined signature so that you can host the application with any web server that understands the WSGI protocol [http://legacy.python.org/dev/peps/pep-3333/]. Next let’s take a look at the falcon.API class returned instead. (See also: RFC 7239, Section 1 [https://tools.ietf.org/html/rfc7239#section-1]) protocol str – Deprecated alias for scheme. Will be removed in a future release. method str – HTTP method scheme str – The value of the “proto” parameter, or None if the parameter is absent. Indicates the protocol that was used to make the request to the proxy. Response class falcon.Response(options=None)0 码力 | 194 页 | 266.90 KB | 1 年前3
Falcon v1.3.0 Documentationwell-defined signature so that you can host the application with any web server that understands the WSGI protocol. Next let’s take a look at the falcon.API class. Install IPython and fire it up: $ pip install also: RFC 7239, Section 1) 6.2. Classes and Functions 51 Falcon Documentation, Release 1.3.0 protocol str – Deprecated alias for scheme. Will be removed in a future release. method str – HTTP method scheme str – The value of the “proto” parameter, or None if the parameter is absent. Indicates the protocol that was used to make the request to the proxy. Response class falcon.Response(options=None)0 码力 | 146 页 | 535.22 KB | 1 年前3
Falcon v1.4.1 Documentationwell-defined signature so that you can host the application with any web server that understands the WSGI protocol. Next let’s take a look at the falcon.API class. Install IPython and fire it up: $ pip install Falcon support WebSocket? Due to the limitations of WSGI, Falcon is unable to support the WebSocket protocol as stated above. In the meantime, you might try leveraging uWSGI’s native WebSocket support, or parameter in the first hop, the value of scheme is returned instead. (See also: RFC 7239, Section 1) protocol str – Deprecated alias for scheme. Will be removed in a future release. method str – HTTP method0 码力 | 158 页 | 587.88 KB | 1 年前3
Falcon v1.4.0 Documentationwell-defined signature so that you can host the application with any web server that understands the WSGI protocol. Next let’s take a look at the falcon.API class. Install IPython and fire it up: $ pip install Falcon support WebSocket? Due to the limitations of WSGI, Falcon is unable to support the WebSocket protocol as stated above. In the meantime, you might try leveraging uWSGI’s native WebSocket support, or parameter in the first hop, the value of scheme is returned instead. (See also: RFC 7239, Section 1) protocol str – Deprecated alias for scheme. Will be removed in a future release. method str – HTTP method0 码力 | 156 页 | 573.94 KB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













