 Falcon v1.3.0 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy resources and responders would be impractical. For example, you might use a sink to create a smart proxy that forwards requests to one or more backend services. Parameters • sink (callable) – A callable request header field forwarded_host str – Original host request header as received by the first proxy in front of the application server. The following request headers are checked, in order of preference0 码力 | 146 页 | 535.22 KB | 1 年前3 Falcon v1.3.0 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy resources and responders would be impractical. For example, you might use a sink to create a smart proxy that forwards requests to one or more backend services. Parameters • sink (callable) – A callable request header field forwarded_host str – Original host request header as received by the first proxy in front of the application server. The following request headers are checked, in order of preference0 码力 | 146 页 | 535.22 KB | 1 年前3
 Falcon v1.3.0 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a resources and responders would be impractical. For example, you might use a sink to create a smart proxy that forwards requests to one or more backend services. Parameters: sink (callable) – A callable request header field forwarded_host str – Original host request header as received by the first proxy in front of the application server. The following request headers are checked, in order of preference0 码力 | 194 页 | 266.90 KB | 1 年前3 Falcon v1.3.0 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a resources and responders would be impractical. For example, you might use a sink to create a smart proxy that forwards requests to one or more backend services. Parameters: sink (callable) – A callable request header field forwarded_host str – Original host request header as received by the first proxy in front of the application server. The following request headers are checked, in order of preference0 码力 | 194 页 | 266.90 KB | 1 年前3
 Falcon v2.0.0 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy to boost performance where it is most needed. If you have access to your load balancer or reverse proxy configuration, we recommend setting up path or subdomain- based rules to split requests between your resources and responders would be impractical. For example, you might use a sink to create a smart proxy that forwards requests to one or more backend services. Parameters • sink (callable) – A callable0 码力 | 184 页 | 671.87 KB | 1 年前3 Falcon v2.0.0 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy to boost performance where it is most needed. If you have access to your load balancer or reverse proxy configuration, we recommend setting up path or subdomain- based rules to split requests between your resources and responders would be impractical. For example, you might use a sink to create a smart proxy that forwards requests to one or more backend services. Parameters • sink (callable) – A callable0 码力 | 184 页 | 671.87 KB | 1 年前3
 Falcon v1.4.1 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy resources and responders would be impractical. For example, you might use a sink to create a smart proxy that forwards requests to one or more backend services. Parameters • sink (callable) – A callable request header field forwarded_host str – Original host request header as received by the first proxy in front of the application server. 58 Chapter 5. Documentation Falcon Documentation, Release 10 码力 | 158 页 | 587.88 KB | 1 年前3 Falcon v1.4.1 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy resources and responders would be impractical. For example, you might use a sink to create a smart proxy that forwards requests to one or more backend services. Parameters • sink (callable) – A callable request header field forwarded_host str – Original host request header as received by the first proxy in front of the application server. 58 Chapter 5. Documentation Falcon Documentation, Release 10 码力 | 158 页 | 587.88 KB | 1 年前3
 Falcon v1.4.0 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy resources and responders would be impractical. For example, you might use a sink to create a smart proxy that forwards requests to one or more backend services. Parameters • sink (callable) – A callable request header field forwarded_host str – Original host request header as received by the first proxy in front of the application server. 58 Chapter 5. Documentation Falcon Documentation, Release 10 码力 | 156 页 | 573.94 KB | 1 年前3 Falcon v1.4.0 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy resources and responders would be impractical. For example, you might use a sink to create a smart proxy that forwards requests to one or more backend services. Parameters • sink (callable) – A callable request header field forwarded_host str – Original host request header as received by the first proxy in front of the application server. 58 Chapter 5. Documentation Falcon Documentation, Release 10 码力 | 156 页 | 573.94 KB | 1 年前3
 Falcon v1.4.1 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy resources and responders would be impractical. For example, you might use a sink to create a smart proxy that forwards requests to one or more backend services. Parameters • sink (callable) – A callable request header field forwarded_host str – Original host request header as received by the first proxy in front of the application server. 58 Chapter 5. Documentation Falcon Documentation, Release 10 码力 | 156 页 | 574.46 KB | 1 年前3 Falcon v1.4.1 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy resources and responders would be impractical. For example, you might use a sink to create a smart proxy that forwards requests to one or more backend services. Parameters • sink (callable) – A callable request header field forwarded_host str – Original host request header as received by the first proxy in front of the application server. 58 Chapter 5. Documentation Falcon Documentation, Release 10 码力 | 156 页 | 574.46 KB | 1 年前3
 Falcon v3.0.0-b2 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy pass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy set_header('X-Request-ID', req.context.request_id) Note: If your app is deployed behind a reverse proxy that injects a request ID header, you can easily adapt this recipe to use the upstream ID rather than0 码力 | 340 页 | 1.15 MB | 1 年前3 Falcon v3.0.0-b2 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy pass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy set_header('X-Request-ID', req.context.request_id) Note: If your app is deployed behind a reverse proxy that injects a request ID header, you can easily adapt this recipe to use the upstream ID rather than0 码力 | 340 页 | 1.15 MB | 1 年前3
 Falcon v3.0.0 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy pass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy set_header('X-Request-ID', req.context.request_id) Note: If your app is deployed behind a reverse proxy that injects a request ID header, you can easily adapt this recipe to use the upstream ID rather than0 码力 | 344 页 | 1.16 MB | 1 年前3 Falcon v3.0.0 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy pass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy set_header('X-Request-ID', req.context.request_id) Note: If your app is deployed behind a reverse proxy that injects a request ID header, you can easily adapt this recipe to use the upstream ID rather than0 码力 | 344 页 | 1.16 MB | 1 年前3
 Falcon v3.0.1 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy pass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy set_header('X-Request-ID', req.context.request_id) Note: If your app is deployed behind a reverse proxy that injects a request ID header, you can easily adapt this recipe to use the upstream ID rather than0 码力 | 344 页 | 1.16 MB | 1 年前3 Falcon v3.0.1 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy pass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy set_header('X-Request-ID', req.context.request_id) Note: If your app is deployed behind a reverse proxy that injects a request ID header, you can easily adapt this recipe to use the upstream ID rather than0 码力 | 344 页 | 1.16 MB | 1 年前3
 Falcon v3.0.0-b1 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy pass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy set_header('X-Request-ID', req.context.request_id) Note: If your app is deployed behind a reverse proxy that injects a request ID header, you can easily adapt this recipe to use the upstream ID rather than0 码力 | 338 页 | 1.14 MB | 1 年前3 Falcon v3.0.0-b1 Documentationpass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy pass control to # the given handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy set_header('X-Request-ID', req.context.request_id) Note: If your app is deployed behind a reverse proxy that injects a request ID header, you can easily adapt this recipe to use the upstream ID rather than0 码力 | 338 页 | 1.14 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4














