Falcon v3.0.0-b2 DocumentationWSGI server. Gunicorn and uWSGI are some of the more popular ones out there, but anything that can load a WSGI app will do. Windows users can try Waitress, a production-quality, pure-Python WSGI server HTTP_201 resp.location = '/%s/things/%s' % (user_id, proper_thing['id']) # Configure your WSGI server to load "things.app" (app is a WSGI callable) app = falcon.App(middleware=[ AuthMiddleware(), RequireJSON() size, } class Store: def __init__(self, config): self._config = config self._images = {} def _load_from_bytes(self, data): (continues on next page) 5.1. User Guide 49 Falcon Documentation, Release0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.0.0 DocumentationWSGI server. Gunicorn and uWSGI are some of the more popular ones out there, but anything that can load a WSGI app will do. Windows users can try Waitress, a production-quality, pure-Python WSGI server HTTP_201 resp.location = '/%s/things/%s' % (user_id, proper_thing['id']) # Configure your WSGI server to load "things.app" (app is a WSGI callable) app = falcon.App(middleware=[ AuthMiddleware(), RequireJSON() size, } class Store: def __init__(self, config): self._config = config self._images = {} def _load_from_bytes(self, data): (continues on next page) 5.1. User Guide 49 Falcon Documentation, Release0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.1 DocumentationWSGI server. Gunicorn and uWSGI are some of the more popular ones out there, but anything that can load a WSGI app will do. Windows users can try Waitress, a production-quality, pure-Python WSGI server HTTP_201 resp.location = '/%s/things/%s' % (user_id, proper_thing['id']) # Configure your WSGI server to load "things.app" (app is a WSGI callable) app = falcon.App(middleware=[ AuthMiddleware(), RequireJSON() size, } class Store: def __init__(self, config): self._config = config self._images = {} def _load_from_bytes(self, data): (continues on next page) 5.1. User Guide 49 Falcon Documentation, Release0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.0-b1 DocumentationWSGI server. Gunicorn and uWSGI are some of the more popular ones out there, but anything that can load a WSGI app will do. All Windows developers can use Waitress production-quality pure-Python WSGI server HTTP_201 resp.location = '/%s/things/%s' % (user_id, proper_thing['id']) # Configure your WSGI server to load "things.app" (app is a WSGI callable) app = falcon.App(middleware=[ (continues on next page) 20 size, } class Store: def __init__(self, config): self._config = config self._images = {} def _load_from_bytes(self, data): (continues on next page) 5.1. User Guide 49 Falcon Documentation, Release0 码力 | 338 页 | 1.14 MB | 1 年前3
Falcon v3.1.1-b3 DocumentationWSGI server. Gunicorn and uWSGI are some of the more popular ones out there, but anything that can load a WSGI app will do. Windows users can try Waitress, a production-quality, pure-Python WSGI server HTTP_201 resp.location = '/%s/things/%s' % (user_id, proper_thing['id']) # Configure your WSGI server to load "things.app" (app is a WSGI callable) app = falcon.App( middleware=[ AuthMiddleware(), RequireJSON() size, } class Store: def __init__(self, config): self._config = config self._images = {} def _load_from_bytes(self, data): return PIL.Image.open(io.BytesIO(data)) def _convert(self, image): rgb_image0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-b1 DocumentationWSGI server. Gunicorn and uWSGI are some of the more popular ones out there, but anything that can load a WSGI app will do. Windows users can try Waitress, a production-quality, pure-Python WSGI server HTTP_201 resp.location = '/%s/things/%s' % (user_id, proper_thing['id']) # Configure your WSGI server to load "things.app" (app is a WSGI callable) app = falcon.App( middleware=[ AuthMiddleware(), RequireJSON() size, } class Store: def __init__(self, config): self._config = config self._images = {} def _load_from_bytes(self, data): return PIL.Image.open(io.BytesIO(data)) def _convert(self, image): rgb_image0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-a DocumentationWSGI server. Gunicorn and uWSGI are some of the more popular ones out there, but anything that can load a WSGI app will do. Windows users can try Waitress, a production-quality, pure-Python WSGI server HTTP_201 resp.location = '/%s/things/%s' % (user_id, proper_thing['id']) # Configure your WSGI server to load "things.app" (app is a WSGI callable) app = falcon.App( middleware=[ AuthMiddleware(), RequireJSON() size, } class Store: def __init__(self, config): self._config = config self._images = {} def _load_from_bytes(self, data): return PIL.Image.open(io.BytesIO(data)) def _convert(self, image): rgb_image0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.0 DocumentationWSGI server. Gunicorn and uWSGI are some of the more popular ones out there, but anything that can load a WSGI app will do. Windows users can try Waitress, a production-quality, pure-Python WSGI server HTTP_201 resp.location = '/%s/things/%s' % (user_id, proper_thing['id']) # Configure your WSGI server to load "things.app" (app is a WSGI callable) app = falcon.App( middleware=[ AuthMiddleware(), RequireJSON() size, } class Store: def __init__(self, config): self._config = config self._images = {} def _load_from_bytes(self, data): return PIL.Image.open(io.BytesIO(data)) def _convert(self, image): rgb_image0 码力 | 362 页 | 1.29 MB | 1 年前3
Falcon v3.1.1 DocumentationWSGI server. Gunicorn and uWSGI are some of the more popular ones out there, but anything that can load a WSGI app will do. Windows users can try Waitress, a production-quality, pure-Python WSGI server HTTP_201 resp.location = '/%s/things/%s' % (user_id, proper_thing['id']) # Configure your WSGI server to load "things.app" (app is a WSGI callable) app = falcon.App( middleware=[ AuthMiddleware(), RequireJSON() size, } class Store: def __init__(self, config): self._config = config self._images = {} def _load_from_bytes(self, data): return PIL.Image.open(io.BytesIO(data)) def _convert(self, image): rgb_image0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-rc1 DocumentationWSGI server. Gunicorn and uWSGI are some of the more popular ones out there, but anything that can load a WSGI app will do. Windows users can try Waitress, a production-quality, pure-Python WSGI server HTTP_201 resp.location = '/%s/things/%s' % (user_id, proper_thing['id']) # Configure your WSGI server to load "things.app" (app is a WSGI callable) app = falcon.App( middleware=[ AuthMiddleware(), RequireJSON() size, } class Store: def __init__(self, config): self._config = config self._images = {} def _load_from_bytes(self, data): return PIL.Image.open(io.BytesIO(data)) def _convert(self, image): rgb_image0 码力 | 378 页 | 1.29 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













