Falcon v1.0.0 Documentationand share your ideas. You can find us in #falconframework [https://kiwiirc.com/client/irc.freenode.net/?#falconframework] on Freenode [https://en.wikipedia.org/wiki/Freenode]. Discussion Group The Falcon find us in #falconframework [https://kiwiirc.com/client/irc.freenode.net/?#falconframework] on Freenode [https://www.freenode.net/]. It’s the best way to discuss ideas, ask questions, and generally stay the built-in help function: In [3]: help(falcon.API.__call__) Note the method signature. env and start_response are standard WSGI params. Falcon adds a thin abstraction on top of these params so you don’t0 码力 | 312 页 | 368.58 KB | 1 年前3
Falcon v1.2.0 Documentationand share your ideas. You can find us in #falconframework [https://kiwiirc.com/client/irc.freenode.net/?#falconframework] on Freenode [https://en.wikipedia.org/wiki/Freenode]. Discussion Group The Falcon find us in #falconframework [https://kiwiirc.com/client/irc.freenode.net/?#falconframework] on Freenode [https://www.freenode.net/]. It’s the best way to discuss ideas, ask questions, and generally stay Cygwin on Windows installed. Waitress can be good alternative for Windows users if they want quick start using Falcon on it. $ pip install [gunicorn|uwsgi|waitress] Source Code Falcon lives on GitHub0 码力 | 177 页 | 252.56 KB | 1 年前3
Falcon v1.0.0 Documentationinterested in helping out, please join the #falconframework IRC channel on Freenode [https://www.freenode.net/]. It’s the best way to discuss ideas, ask questions, and generally stay in touch with fellow contributors the built-in help function: In [3]: help(falcon.API.__call__) Note the method signature. env and start_response are standard WSGI params. Falcon adds a thin abstraction on top of these params so you don’t defines various “responder” methods, one for each HTTP method the resource allows. Responder names start with on_ and are named according to which HTTP method they handle, as in on_get, on_post, on_put,0 码力 | 249 页 | 406.22 KB | 1 年前3
Falcon v3.0.0 Documentationstandard Python help() function: In [3]: help(falcon.App.__call__) Note the method signature. env and start_response are standard WSGI params. Falcon adds a thin abstraction on top of these params so you don’t requested URL is mapped to a specific resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following just for fun, let’s modify our resource to use MessagePack [http://msgpack.org/] instead of JSON. Start by installing the relevant package: $ pip install msgpack-python Then, update the responder to use0 码力 | 1055 页 | 739.30 KB | 1 年前3
Falcon v3.0.1 Documentationstandard Python help() function: In [3]: help(falcon.App.__call__) Note the method signature. env and start_response are standard WSGI params. Falcon adds a thin abstraction on top of these params so you don’t requested URL is mapped to a specific resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following just for fun, let’s modify our resource to use MessagePack [http://msgpack.org/] instead of JSON. Start by installing the relevant package: $ pip install msgpack-python Then, update the responder to use0 码力 | 1058 页 | 741.59 KB | 1 年前3
Falcon v3.0.0-b2 Documentationstandard Python help() function: In [3]: help(falcon.App.__call__) Note the method signature. env and start_response are standard WSGI params. Falcon adds a thin abstraction on top of these params so you don’t requested URL is mapped to a specific resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following just for fun, let’s modify our resource to use MessagePack [http://msgpack.org/] instead of JSON. Start by installing the relevant package: $ pip install msgpack-python Then, update the responder to use0 码力 | 1041 页 | 730.21 KB | 1 年前3
Falcon v3.0.0-b1 DocumentationCygwin on Windows installed. Waitress can be good alternative for Windows users if they want quick start using Falcon on it. $ pip install [gunicorn|uwsgi|waitress] ASGI Server Conversely, in order to standard Python help() function: In [3]: help(falcon.App.__call__) Note the method signature. env and start_response are standard WSGI params. Falcon adds a thin abstraction on top of these params so you don’t requested URL is mapped to a specific resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following0 码力 | 1028 页 | 725.86 KB | 1 年前3
Falcon v1.0.0 DocumentationDocumentation, Release 1.0.0 In [3]: help(falcon.API.__call__) Note the method signature. env and start_response are standard WSGI params. Falcon adds a thin abstraction on top of these params so you don’t defines various “responder” methods, one for each HTTP method the resource allows. Responder names start with on_ and are named according to which HTTP method they handle, as in on_get, on_post, on_put, defaults to ‘200 OK’. Note: Falcon provides a number of constants for common status codes. They all start with the HTTP_ prefix, as in: falcon.HTTP_204. body str or unicode – String representing response0 码力 | 87 页 | 348.15 KB | 1 年前3
Falcon v3.0.0-b2 Documentationstandard Python help() function: In [3]: help(falcon.App.__call__) Note the method signature. env and start_response are standard WSGI params. Falcon adds a thin abstraction on top of these params so you don’t requested URL is mapped to a specific resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following to application. Next, just for fun, let’s modify our resource to use MessagePack instead of JSON. Start by installing the relevant package: $ pip install msgpack-python Then, update the responder to use0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.0.0 Documentationstandard Python help() function: In [3]: help(falcon.App.__call__) Note the method signature. env and start_response are standard WSGI params. Falcon adds a thin abstraction on top of these params so you don’t requested URL is mapped to a specific resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following to application. Next, just for fun, let’s modify our resource to use MessagePack instead of JSON. Start by installing the relevant package: $ pip install msgpack-python Then, update the responder to use0 码力 | 344 页 | 1.16 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













