Falcon v0.3.0.1 Documentation
“app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See I pass data from a hook to a responder, and between hooks? You can inject extra responder kwargs from a hook by adding them to the params dict passed into the hook. You can also add custom data to the to do that explicitly? Falcon will try to do this for you, based on the value of resp.body, resp.data, or resp.stream_len (whichever is set in the response, checked in that order.) For dynamically-generated0 码力 | 77 页 | 311.34 KB | 1 年前3Falcon v0.2.0 Documentation
“app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See I pass data from a hook to a responder, and between hooks? You can inject extra responder kwargs from a hook by adding them to the params dict passed into the hook. You can also add custom data to the to do that explicitly? Falcon will try to do this for you, based on the value of resp.body, resp.data, or resp.stream_len (whichever is set in the response, checked in that order.) For dynamically-generated0 码力 | 70 页 | 296.15 KB | 1 年前3Falcon v0.3.0.1 Documentation
“app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See I pass data from a hook to a responder, and between hooks? You can inject extra responder kwargs from a hook by adding them to the params dict passed into the hook. You can also add custom data to the to do that explicitly? Falcon will try to do this for you, based on the value of resp.body, resp.data, or resp.stream_len (whichever is set in the response, checked in that order.) For dynamically-generated0 码力 | 126 页 | 345.09 KB | 1 年前3Falcon v0.2.0 Documentation
“app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See I pass data from a hook to a responder, and between hooks? You can inject extra responder kwargs from a hook by adding them to the params dict passed into the hook. You can also add custom data to the to do that explicitly? Falcon will try to do this for you, based on the value of resp.body, resp.data, or resp.stream_len (whichever is set in the response, checked in that order.) For dynamically-generated0 码力 | 188 页 | 358.44 KB | 1 年前3Falcon v1.0.0 Documentation
“app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See I pass data from a hook to a responder, and between hooks? You can inject extra responder kwargs from a hook by adding them to the params dict passed into the hook. You can also add custom data to the to do that explicitly? Falcon will try to do this for you, based on the value of resp.body, resp.data, or resp.stream_len (whichever is set in the response, checked in that order.) 14 Chapter 5. Documentation0 码力 | 87 页 | 348.15 KB | 1 年前3Falcon v3.0.0 Documentation
additional Clang C compiler flags as follows: 5.1. User Guide 13 Falcon Documentation, Release 3.0.0 $ export CFLAGS="-Qunused-arguments -Wno-unused-function" Dependencies Falcon does not require the installation ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server import falcon # Falcon follows the REST architectural style, meaning (among # other things) that try: $ pip install --upgrade httpie $ http localhost:8000/things # examples/things_asgi.py import falcon import falcon.asgi # Falcon follows the REST architectural style, meaning (among # other things)0 码力 | 344 页 | 1.16 MB | 1 年前3Falcon v3.0.1 Documentation
additional Clang C compiler flags as follows: 5.1. User Guide 13 Falcon Documentation, Release 3.0.1 $ export CFLAGS="-Qunused-arguments -Wno-unused-function" Dependencies Falcon does not require the installation ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server import falcon # Falcon follows the REST architectural style, meaning (among # other things) that try: $ pip install --upgrade httpie $ http localhost:8000/things # examples/things_asgi.py import falcon import falcon.asgi # Falcon follows the REST architectural style, meaning (among # other things)0 码力 | 344 页 | 1.16 MB | 1 年前3Falcon v3.0.0-b2 Documentation
Clang C compiler flags as follows: 5.1. User Guide 13 Falcon Documentation, Release 3.0.0b2 $ export CFLAGS="-Qunused-arguments -Wno-unused-function" Dependencies Falcon does not require the installation ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server import falcon # Falcon follows the REST architectural style, meaning (among # other things) that try: $ pip install --upgrade httpie $ http localhost:8000/things # examples/things_asgi.py import falcon import falcon.asgi # Falcon follows the REST architectural style, meaning (among # other things)0 码力 | 340 页 | 1.15 MB | 1 年前3Falcon v3.0.0-b1 Documentation
Clang C compiler flags as follows: 5.1. User Guide 13 Falcon Documentation, Release 3.0.0b1 $ export CFLAGS="-Qunused-arguments -Wno-unused-function" Dependencies Falcon does not require the installation ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server import falcon # Falcon follows the REST architectural style, meaning (among # other things) that try: $ pip install --upgrade httpie $ http localhost:8000/things # examples/things_asgi.py import falcon import falcon.asgi # Falcon follows the REST architectural style, meaning (among # other things)0 码力 | 338 页 | 1.14 MB | 1 年前3Falcon v1.1.0 Documentation
“app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See I pass data from a hook to a responder, and between hooks? You can inject extra responder kwargs from a hook by adding them to the params dict passed into the hook. You can also add custom data to the to do that explicitly? Falcon will try to do this for you, based on the value of resp.body, resp.data, or resp.stream_len (whichever is set in the response, checked in that order.) For dynamically-generated0 码力 | 113 页 | 426.53 KB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4