Falcon v2.0.0 Documentationclass instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the above example using any WSGI server, such as uWSGI specified any routes yet. Falcon includes a default 404 response handler that will fire for any requested path for which a route does not exist. While curl certainly gets the job done, it can be a bit crufty 4096 # The resource object must now be initialized with a path used during POST def __init__(self, storage_path): self._storage_path = storage_path # This is the method we implemented before def on_get(self0 码力 | 184 页 | 671.87 KB | 1 年前3
Falcon v2.0.0 Documentationclass instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the above example using any WSGI server, such as uWSGI specified any routes yet. Falcon includes a default 404 response handler that will fire for any requested path for which a route does not exist. While curl certainly gets the job done, it can be a bit crufty The resource object must now be initialized with a path used during POST def __init__(self, storage_path): self._storage_path = storage_path # This is the method we implemented before0 码力 | 265 页 | 299.57 KB | 1 年前3
Falcon v1.4.1 Documentationclass instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the above example using any WSGI server, such as uWSGI specified any routes yet. Falcon includes a default 404 response handler that will fire for any requested path for which a route does not exist. While curl certainly gets the job done, it can be a bit crufty 4096 # The resource object must now be initialized with a path used during POST def __init__(self, storage_path): self._storage_path = storage_path # This is the method we implemented before def on_get(self0 码力 | 158 页 | 587.88 KB | 1 年前3
Falcon v1.4.0 Documentationclass instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the above example using any WSGI server, such as uWSGI specified any routes yet. Falcon includes a default 404 response handler that will fire for any requested path for which a route does not exist. While curl certainly gets the job done, it can be a bit crufty 4096 # The resource object must now be initialized with a path used during POST def __init__(self, storage_path): self._storage_path = storage_path # This is the method we implemented before def on_get(self0 码力 | 156 页 | 573.94 KB | 1 年前3
Falcon v1.4.1 Documentationclass instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the above example using any WSGI server, such as uWSGI specified any routes yet. Falcon includes a default 404 response handler that will fire for any requested path for which a route does not exist. While curl certainly gets the job done, it can be a bit crufty 4096 # The resource object must now be initialized with a path used during POST def __init__(self, storage_path): self._storage_path = storage_path # This is the method we implemented before def on_get(self0 码力 | 156 页 | 574.46 KB | 1 年前3
Falcon v3.0.0-b2 Documentationclass instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: class instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the ASGI version with uvicorn or any other ASGI server: specified any routes yet. Falcon includes a default 404 response handler that will fire for any requested path for which a route does not exist. 5.1. User Guide 27 Falcon Documentation, Release 3.0.0b2 While0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.0.0 Documentationclass instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: class instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the ASGI version with uvicorn or any other ASGI server: specified any routes yet. Falcon includes a default 404 response handler that will fire for any requested path for which a route does not exist. 5.1. User Guide 27 Falcon Documentation, Release 3.0.0 While0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.1 Documentationclass instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: class instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the ASGI version with uvicorn or any other ASGI server: specified any routes yet. Falcon includes a default 404 response handler that will fire for any requested path for which a route does not exist. 5.1. User Guide 27 Falcon Documentation, Release 3.0.1 While0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.0-b1 Documentationclass instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: class instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the ASGI version with uvicorn or any other ASGI server: specified any routes yet. Falcon includes a default 404 response handler that will fire for any requested path for which a route does not exist. While curl certainly gets the job done, it can be a bit crufty0 码力 | 338 页 | 1.14 MB | 1 年前3
Falcon v1.4.1-post-1 Documentationclass instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the above example using any WSGI server, such as uWSGI specified any routes yet. Falcon includes a default 404 response handler that will fire for any requested path for which a route does not exist. While curl certainly gets the job done, it can be a bit crufty The resource object must now be initialized with a path used during POST def __init__(self, storage_path): self._storage_path = storage_path # This is the method we implemented before0 码力 | 229 页 | 273.39 KB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













