Falcon v0.2.0 Documentationcloud services. We would love to have you join us and share your ideas. Please help us spread the word and grow the community! IRC While you experiment with Falcon and work to familiarize yourself with so you can use the standard pattern outlined in PEP-3333. In your main “app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware FALSE_STRINGS = ('false', 'False', 'no') WSGI_CONTENT_HEADERS = ('CONTENT_TYPE', 'CONTENT_LENGTH') _maybe_wrap_wsgi_stream = True [docs]class Request(object): """Represents a client's HTTP request. Note:0 码力 | 188 页 | 358.44 KB | 1 年前3
Falcon v3.0.0-b2 Documentationfilesystem. For our convenience, pytest offers several temporary directory utilities out of the box. Let’s wrap its tmpdir_factory to create a simple storage_path fixture that we’ll share among all tests in the headers, exc_info) return self._app(environ, start_response_wrapper) We can now use this middleware to wrap a Falcon app: import falcon # Import or define CustomHeadersMiddleware from the above snippet.. so you can use the standard pattern outlined in PEP-3333. In your main “app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.0.0 Documentationfilesystem. For our convenience, pytest offers several temporary directory utilities out of the box. Let’s wrap its tmpdir_factory to create a simple storage_path fixture that we’ll share among all tests in the headers, exc_info) return self._app(environ, start_response_wrapper) We can now use this middleware to wrap a Falcon app: import falcon # Import or define CustomHeadersMiddleware from the above snippet.. so you can use the standard pattern outlined in PEP-3333. In your main “app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.1 Documentationfilesystem. For our convenience, pytest offers several temporary directory utilities out of the box. Let’s wrap its tmpdir_factory to create a simple storage_path fixture that we’ll share among all tests in the headers, exc_info) return self._app(environ, start_response_wrapper) We can now use this middleware to wrap a Falcon app: import falcon # Import or define CustomHeadersMiddleware from the above snippet.. so you can use the standard pattern outlined in PEP-3333. In your main “app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.0-b1 Documentationheaders, exc_info) return self._app(environ, start_response_wrapper) We can now use this middleware to wrap a Falcon app: import falcon # Import or define CustomHeadersMiddleware from the above snippet.. so you can use the standard pattern outlined in PEP-3333. In your main “app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware cloud services. We would love to have you join us and share your ideas. Please help us spread the word and grow the community! 94 Chapter 5. Documentation Falcon Documentation, Release 3.0.0b1 FAQ0 码力 | 338 页 | 1.14 MB | 1 年前3
Falcon v1.0.0 Documentationcloud services. We would love to have you join us and share your ideas. Please help us spread the word and grow the community! IRC While you experiment with Falcon and work to familiarize yourself with so you can use the standard pattern outlined in PEP-3333. In your main “app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware be a breaking change. However, the framework was modified to detect old-style error serializers and wrap them with a shim to make them compatible with the new interface. A query string containing malformed0 码力 | 249 页 | 406.22 KB | 1 年前3
Falcon v1.0.0 Documentationcloud services. We would love to have you join us and share your ideas. Please help us spread the word and grow the community! IRC Chat with fellow community members in the official Falcon IRC channel so you can use the standard pattern outlined in PEP-3333. In your main “app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware be a breaking change. However, the framework was modified to detect old-style error serializers and wrap them with a shim to make them compatible with the new interface. A query string containing malformed0 码力 | 312 页 | 368.58 KB | 1 年前3
Falcon v1.0.0 Documentationcloud services. We would love to have you join us and share your ideas. Please help us spread the word and grow the community! IRC While you experiment with Falcon and work to familiarize yourself with so you can use the standard pattern outlined in PEP-3333. In your main “app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware be a breaking change. However, the framework was modified to detect old-style error serializers and wrap them with a shim to make them compatible with the new interface. • A query string containing malformed0 码力 | 87 页 | 348.15 KB | 1 年前3
Falcon v3.1.1-b3 DocumentationFor our conve- nience, pytest offers several temporary directory utilities out of the box. Let’s wrap its tmpdir_factory to create a simple storage_path fixture that we’ll share among all tests in the Chapter 5. Documentation Falcon Documentation, Release 3.1.1b3 We can now use this middleware to wrap a Falcon app: import falcon # Import or define CustomHeadersMiddleware from the above snippet.. so you can use the standard pattern outlined in PEP-3333. In your main “app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-b1 DocumentationFor our conve- nience, pytest offers several temporary directory utilities out of the box. Let’s wrap its tmpdir_factory to create a simple storage_path fixture that we’ll share among all tests in the Chapter 5. Documentation Falcon Documentation, Release 3.1.1b1 We can now use this middleware to wrap a Falcon app: import falcon # Import or define CustomHeadersMiddleware from the above snippet.. so you can use the standard pattern outlined in PEP-3333. In your main “app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware0 码力 | 378 页 | 1.29 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













