Falcon v1.0.0 DocumentationClasses and Functions API Class Req/Resp Cookies Status Codes Error Handling Redirection Middleware Components Hooks Routing Utilities Testing Changelogs 1.0.0 0.3.0 0.2.0 Created using Sphinx 1.3.5. index See also the WSGI middleware example [http://legacy.python.org/dev/peps/pep-3333/#middleware- components-that-play-both-sides] given in PEP-3333. Why doesn’t Falcon come with batteries included? The great libraries that you are welcome to use from within your responders, hooks, and middleware components. Falcon doesn’t try to dictate what you should use, since that would take away your freedom to0 码力 | 249 页 | 406.22 KB | 1 年前3
Falcon v1.3.0 Documentationto headers and bodies through request and response classes DRY request processing via middleware components and hooks Idiomatic HTTP error responses Straightforward exception handling Snappy unit testing opposed to lower-level unit testing, since it is difficult to anticipate what internal interfaces and components are needed in advance of defining the application’s user-facing functionality. In the case of location for logging and otherwise handling exceptions raised by responders, hooks, and middleware components. See also: add_error_handler(). Let’s see a quick example of how this works. Try requesting an0 码力 | 194 页 | 266.90 KB | 1 年前3
Falcon v1.2.0 DocumentationSee also the WSGI middleware example [http://legacy.python.org/dev/peps/pep-3333/#middleware- components-that-play-both-sides] given in PEP-3333. Why doesn’t Falcon come with batteries included? The great libraries that you are welcome to use from within your responders, hooks, and middleware components. Falcon doesn’t try to dictate what you should use, since that would take away your freedom to to choose the best tool for the job. How do I authenticate requests? Hooks and middleware components can be used together to authenticate and authorize requests. For example, a middleware component could0 码力 | 177 页 | 252.56 KB | 1 年前3
Falcon v0.3.0.1 DocumentationTutorial Classes and Functions API Class Req/Resp Cookies Status Codes Error Handling Middleware Components Hooks Routing Utilities Changelogs 0.3.0 0.2.0 Created using Sphinx 1.2.3. index modules | See also the WSGI middleware example [http://legacy.python.org/dev/peps/pep-3333/#middleware- components-that-play-both-sides] given in PEP-3333. Why doesn’t Falcon include X? The Python ecosytem offers python-multipart or cgi.FieldStorage? How do I authenticate requests? Hooks and/or middleware components can be used to to authenticate and authorize requests. For example, you could create a middleware0 码力 | 126 页 | 345.09 KB | 1 年前3
Falcon v3.1.1 Documentationto headers and bodies through request and response objects DRY request processing via middleware components and hooks Strict adherence to RFCs Idiomatic HTTP error responses Straightforward exception handling to headers and bodies through request and response objects DRY request processing via middleware components and hooks Strict adherence to RFCs Idiomatic HTTP error responses Straightforward exception handling demonstrate how the context can be # used to pass arbitrary values between middleware components, # hooks, and resources. resp.context.result = result resp.set_header('Powered-By'0 码力 | 540 页 | 476.60 KB | 1 年前3
Falcon v3.1.1-rc1 Documentationto headers and bodies through request and response objects DRY request processing via middleware components and hooks Strict adherence to RFCs Idiomatic HTTP error responses Straightforward exception handling to headers and bodies through request and response objects DRY request processing via middleware components and hooks Strict adherence to RFCs Idiomatic HTTP error responses Straightforward exception handling demonstrate how the context can be # used to pass arbitrary values between middleware components, # hooks, and resources. resp.context.result = result resp.set_header('Powered-By'0 码力 | 540 页 | 476.61 KB | 1 年前3
Falcon v3.1.0 Documentationto headers and bodies through request and response objects DRY request processing via middleware components and hooks Strict adherence to RFCs Idiomatic HTTP error responses Straightforward exception handling to headers and bodies through request and response objects DRY request processing via middleware components and hooks Strict adherence to RFCs Idiomatic HTTP error responses Straightforward exception handling demonstrate how the context can be # used to pass arbitrary values between middleware components, # hooks, and resources. resp.context.result = result resp.set_header('Powered-By'0 码力 | 537 页 | 474.34 KB | 1 年前3
Falcon v3.1.1-b3 Documentationto headers and bodies through request and response objects DRY request processing via middleware components and hooks Strict adherence to RFCs Idiomatic HTTP error responses Straightforward exception handling to headers and bodies through request and response objects DRY request processing via middleware components and hooks Strict adherence to RFCs Idiomatic HTTP error responses Straightforward exception handling demonstrate how the context can be # used to pass arbitrary values between middleware components, # hooks, and resources. resp.context.result = result resp.set_header('Powered-By'0 码力 | 540 页 | 476.61 KB | 1 年前3
Falcon v3.1.1-a Documentationto headers and bodies through request and response objects DRY request processing via middleware components and hooks Strict adherence to RFCs Idiomatic HTTP error responses Straightforward exception handling to headers and bodies through request and response objects DRY request processing via middleware components and hooks Strict adherence to RFCs Idiomatic HTTP error responses Straightforward exception handling demonstrate how the context can be # used to pass arbitrary values between middleware components, # hooks, and resources. resp.context.result = result resp.set_header('Powered-By'0 码力 | 540 页 | 476.60 KB | 1 年前3
Falcon v3.1.1-b1 Documentationto headers and bodies through request and response objects DRY request processing via middleware components and hooks Strict adherence to RFCs Idiomatic HTTP error responses Straightforward exception handling to headers and bodies through request and response objects DRY request processing via middleware components and hooks Strict adherence to RFCs Idiomatic HTTP error responses Straightforward exception handling demonstrate how the context can be # used to pass arbitrary values between middleware components, # hooks, and resources. resp.context.result = result resp.set_header('Powered-By'0 码力 | 540 页 | 476.61 KB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













