Falcon v1.0.0 Documentationmapping of URIs to resources Global, resource, and method hooks Idiomatic HTTP error responses Full Unicode support Intuitive request and response objects Works great with async libraries like gevent Minimal server’s error stream (wsgi.error). Parameters: message (str or unicode) – Description of the problem. On Python 2, instances of unicode will be converted to UTF-8. Response class falcon.Response[source] all start with the HTTP_ prefix, as in: falcon.HTTP_204. body str or unicode – String representing response content. If Unicode, Falcon will encode as UTF-8 in the response. If data is already a byte0 码力 | 312 页 | 368.58 KB | 1 年前3
Falcon v1.2.0 Documentationmapping of URIs to resources Global, resource, and method hooks Idiomatic HTTP error responses Full Unicode support Intuitive request and response objects Works great with async libraries like gevent Minimal server’s error stream (wsgi.error). Parameters: message (str or unicode) – Description of the problem. On Python 2, instances of unicode will be converted to UTF-8. Response class falcon.Response(options=None) all start with the HTTP_ prefix, as in: falcon.HTTP_204. body str or unicode – String representing response content. If Unicode, Falcon will encode as UTF-8 in the response. If data is already a byte0 码力 | 177 页 | 252.56 KB | 1 年前3
Falcon v1.2.0 DocumentationURIs to resources • Global, resource, and method hooks • Idiomatic HTTP error responses • Full Unicode support • Intuitive request and response objects • Works great with async libraries like gevent server’s error stream (wsgi.error). Parameters message (str or unicode) – Description of the problem. On Python 2, in- stances of unicode will be converted to UTF-8. Response class falcon.Response(options=None) all start with the HTTP_ prefix, as in: falcon.HTTP_204. body str or unicode – String representing response content. If Unicode, Falcon will encode as UTF-8 in the response. If data is already a byte0 码力 | 134 页 | 498.46 KB | 1 年前3
Falcon v1.3.0 DocumentationURIs to resources • Global, resource, and method hooks • Idiomatic HTTP error responses • Full Unicode support • Intuitive request and response objects • Works great with async libraries like gevent server’s error stream (wsgi.error). Parameters message (str or unicode) – Description of the problem. On Python 2, in- stances of unicode will be converted to UTF-8. class falcon.Forwarded Represents for more information regarding media handling. body str or unicode – String representing response content. If set to a Unicode type (unicode in Python 2, or str in Python 3), Falcon will encode the text0 码力 | 146 页 | 535.22 KB | 1 年前3
Falcon v1.3.0 Documentationmapping of URIs to resources Global, resource, and method hooks Idiomatic HTTP error responses Full Unicode support Intuitive request and response objects Works great with async libraries like gevent Minimal server’s error stream (wsgi.error). Parameters: message (str or unicode) – Description of the problem. On Python 2, instances of unicode will be converted to UTF-8. class falcon.Forwarded Represents for more information regarding media handling. body str or unicode – String representing response content. If set to a Unicode type (unicode in Python 2, or str in Python 3), Falcon will encode the text0 码力 | 194 页 | 266.90 KB | 1 年前3
Falcon v1.4.1 DocumentationURIs to resources • Global, resource, and method hooks • Idiomatic HTTP error responses • Full Unicode support • Intuitive request and response objects • Works great with async libraries like gevent server’s error stream (wsgi.error). Parameters message (str or unicode) – Description of the problem. On Python 2, in- stances of unicode will be converted to UTF-8. class falcon.Forwarded Represents for more information regarding media handling. body str or unicode – String representing response content. If set to a Unicode type (unicode in Python 2, or str in Python 3), Falcon will encode the text0 码力 | 158 页 | 587.88 KB | 1 年前3
Falcon v1.4.0 DocumentationURIs to resources • Global, resource, and method hooks • Idiomatic HTTP error responses • Full Unicode support • Intuitive request and response objects • Works great with async libraries like gevent server’s error stream (wsgi.error). Parameters message (str or unicode) – Description of the problem. On Python 2, in- stances of unicode will be converted to UTF-8. class falcon.Forwarded Represents for more information regarding media handling. body str or unicode – String representing response content. If set to a Unicode type (unicode in Python 2, or str in Python 3), Falcon will encode the text0 码力 | 156 页 | 573.94 KB | 1 年前3
Falcon v1.4.1 DocumentationURIs to resources • Global, resource, and method hooks • Idiomatic HTTP error responses • Full Unicode support • Intuitive request and response objects • Works great with async libraries like gevent server’s error stream (wsgi.error). Parameters message (str or unicode) – Description of the problem. On Python 2, in- stances of unicode will be converted to UTF-8. class falcon.Forwarded Represents for more information regarding media handling. body str or unicode – String representing response content. If set to a Unicode type (unicode in Python 2, or str in Python 3), Falcon will encode the text0 码力 | 156 页 | 574.46 KB | 1 年前3
Falcon v1.0.0 Documentationmapping of URIs to resources Global, resource, and method hooks Idiomatic HTTP error responses Full Unicode support Intuitive request and response objects Works great with async libraries like gevent Minimal server’s error stream (wsgi.error). Parameters: message (str or unicode) – Description of the problem. On Python 2, instances of unicode will be converted to UTF-8. Response class falcon.Response[source] all start with the HTTP_ prefix, as in: falcon.HTTP_204. body str or unicode – String representing response content. If Unicode, Falcon will encode as UTF-8 in the response. If data is already a byte0 码力 | 249 页 | 406.22 KB | 1 年前3
Falcon v1.4.0 Documentationmapping of URIs to resources Global, resource, and method hooks Idiomatic HTTP error responses Full Unicode support Intuitive request and response objects Works great with async libraries like gevent Minimal org/2/library/functions.html#str] or unicode [https://docs.python.org/2/library/functions.html#unicode]) – Description of the problem. On Python 2, instances of unicode will be converted to UTF-8. class for more information regarding media handling. body str or unicode – String representing response content. If set to a Unicode type (unicode in Python 2, or str in Python 3), Falcon will encode the text0 码力 | 230 页 | 271.65 KB | 1 年前3
共 57 条
- 1
- 2
- 3
- 4
- 5
- 6













