Falcon v1.0.0 Documentationyou have a simple Falcon app, you can take it for a spin with a WSGI server. Python includes a reference server for self-hosting, but let’s use something that you would actually deploy in production. method, other than it must accept four arguments. Every hook takes, as its first two arguments, a reference to the same req and resp objects that are passed into responders. resource argument is a Resource Resource instance associated with the request. The fourth argument, named params by convention, is a reference to the kwarg dictionary Falcon creates for each request. params will contain the route’s URI template0 码力 | 249 页 | 406.22 KB | 1 年前3
Falcon v1.0.0 Documentationyou have a simple Falcon app, you can take it for a spin with a WSGI server. Python includes a reference server for self-hosting, but let’s use something that you would actually deploy in production. method, other than it must accept four arguments. Every hook takes, as its first two arguments, a reference to the same req and resp objects that are passed into responders. resource argument is a Resource Resource instance associated with the request. The fourth argument, named params by convention, is a reference to the kwarg dictionary Falcon creates for each request. params will contain the route’s URI template0 码力 | 312 页 | 368.58 KB | 1 年前3
Falcon v0.2.0 Documentationyou have a simple Falcon app, you can take it for a spin with a WSGI server. Python includes a reference server for self-hosting, but let’s use something that you would actually deploy in production. as its first two arguments, a reference to the same req and resp objects that are passed into responders. The third argument, named params by convention, is a reference to the kwarg dictionary Falcon missing. app str – Name of the WSGI app (if using WSGI’s notion of virtual hosting). env dict – Reference to the WSGI environ dict passed in from the server. See also PEP-3333. context dict – Dictionary0 码力 | 188 页 | 358.44 KB | 1 年前3
Falcon v3.0.0 DocumentationPhilosophy Performance Routing Extensibility Request Handling Response Handling Misc. Framework Reference The App Class WSGI App ASGI App Options Request & Response WSGI Request & Response ASGI Request WebSocket (ASGI Only) Usage Lost Connections Error Handling Media Handlers Extended Example Testing Reference Cookies Getting Cookies Setting Cookies The Secure Attribute The SameSite Attribute Status Codes Routing Utilities Custom HTTP Methods Inspect Module Using Inspect Functions Inspect Functions Reference Router Inspection Information Classes Visitor Classes Utilities URI Date and Time HTTP Status0 码力 | 1055 页 | 739.30 KB | 1 年前3
Falcon v3.0.1 DocumentationPhilosophy Performance Routing Extensibility Request Handling Response Handling Misc. Framework Reference The App Class WSGI App ASGI App Options Request & Response WSGI Request & Response ASGI Request WebSocket (ASGI Only) Usage Lost Connections Error Handling Media Handlers Extended Example Testing Reference Cookies Getting Cookies Setting Cookies The Secure Attribute The SameSite Attribute Status Codes Routing Utilities Custom HTTP Methods Inspect Module Using Inspect Functions Inspect Functions Reference Router Inspection Information Classes Visitor Classes Utilities URI Date and Time HTTP Status0 码力 | 1058 页 | 741.59 KB | 1 年前3
Falcon v3.0.0-b2 DocumentationPhilosophy Performance Routing Extensibility Request Handling Response Handling Misc. Framework Reference The App Class WSGI App ASGI App Options Request & Response WSGI Request & Response ASGI Request WebSocket (ASGI Only) Usage Lost Connections Error Handling Media Handlers Extended Example Testing Reference Cookies Getting Cookies Setting Cookies The Secure Attribute The SameSite Attribute Status Codes Routing Utilities Custom HTTP Methods Inspect Module Using Inspect Functions Inspect Functions Reference Router Inspection Information Classes Visitor Classes Utilities URI Date and Time HTTP Status0 码力 | 1041 页 | 730.21 KB | 1 年前3
Falcon v3.0.0-b1 DocumentationPhilosophy Performance Routing Extensibility Request Handling Response Handling Misc. Framework Reference The App Class WSGI App ASGI App Options Request & Response WSGI Request & Response ASGI Request WebSocket (ASGI Only) Usage Lost Connections Error Handling Media Handlers Extended Example Testing Reference Cookies Getting Cookies Setting Cookies The Secure Attribute The SameSite Attribute Status Codes Routing Utilities Custom HTTP Methods Inspect Module Using Inspect Functions Inspect Functions Reference Router Inspection Information Classes Visitor Classes Utilities URI Date and Time HTTP Status0 码力 | 1028 页 | 725.86 KB | 1 年前3
Falcon v0.3.0.1 Documentationyou have a simple Falcon app, you can take it for a spin with a WSGI server. Python includes a reference server for self-hosting, but let’s use something that you would actually deploy in production. as its first two arguments, a reference to the same req and resp objects that are passed into responders. The third argument, named params by convention, is a reference to the kwarg dictionary Falcon missing. app str Name of the WSGI app (if using WSGI’s notion of virtual hosting). env dict Reference to the WSGI environ dict passed in from the server. See also PEP- 3333. context dict Dictionary0 码力 | 126 页 | 345.09 KB | 1 年前3
Falcon v3.1.1-b3 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 5.4 Framework Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 5.4.1 The Release 3.1.1b3 2 CONTENTS CHAPTER ONE QUICK LINKS • Read the docs (FAQ - getting help - reference) • Falcon add-ons and complementary packages • Falcon articles, talks and podcasts • falconry/user CPython on Unix-like systems). Falcon is also regularly tested against Daphne, the current ASGI reference server. For a more in-depth overview of available servers, see also: ASGI Implementations. $ pip0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-b1 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 5.4 Framework Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 5.4.1 The Release 3.1.1b1 2 CONTENTS CHAPTER ONE QUICK LINKS • Read the docs (FAQ - getting help - reference) • Falcon add-ons and complementary packages • Falcon articles, talks and podcasts • falconry/user CPython on Unix-like systems). Falcon is also regularly tested against Daphne, the current ASGI reference server. For a more in-depth overview of available servers, see also: ASGI Implementations. $ pip0 码力 | 378 页 | 1.29 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













