Falcon v3.0.0 DocumentationHTTP_200 # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe me most, the starry sky ' 'above HTTP_200 # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe me most, the starry sky ' 'above + ' ' + result.reason resp.content_type = result.headers['content-type'] resp.text = result.text class AuthMiddleware: def process_request(self, req, resp): token = req.get_he0 码力 | 1055 页 | 739.30 KB | 1 年前3
Falcon v3.0.1 DocumentationHTTP_200 # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe me most, the starry sky ' 'above HTTP_200 # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe me most, the starry sky ' 'above + ' ' + result.reason resp.content_type = result.headers['content-type'] resp.text = result.text class AuthMiddleware: def process_request(self, req, resp): token = req.get_he0 码力 | 1058 页 | 741.59 KB | 1 年前3
Falcon v3.0.0-b2 Documentation# This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe me most, the starry sky ' 'above # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe me most, the starry sky ' 'above ' + result.reason resp.content_type = result.headers['content-type'] resp.text = result.text class AuthMiddleware: def process_request(self, req, resp): token = req.get_he0 码力 | 1041 页 | 730.21 KB | 1 年前3
Falcon v3.0.0-b1 DocumentationHTTP_200 # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe me most, the starry sky ' 'above HTTP_200 # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe me most, the starry sky ' 'above + ' ' + result.reason resp.content_type = result.headers['content-type'] resp.text = result.text class AuthMiddleware: def process_request(self, req, resp): token = req.get_he0 码力 | 1028 页 | 725.86 KB | 1 年前3
Falcon v1.0.0 Documentationresult.reason resp.content_type = result.headers['content-type'] resp.body = result.text class AuthMiddleware(object): def process_request(self, req, resp): token = req.get_h file that will be the entry point into your app: $ touch app.py Open that file in your favorite text editor and add the following lines: import falcon api = application = falcon.API() That creates er.org/]. Also, don’t be shy about pulling up Falcon’s source code on GitHub or in your favorite text editor. The team has tried to make the code as straightforward and readable as possible; where other0 码力 | 249 页 | 406.22 KB | 1 年前3
Falcon v1.0.0 Documentationresult.reason resp.content_type = result.headers['content-type'] resp.body = result.text class AuthMiddleware(object): def process_request(self, req, resp): token = req.get_h file that will be the entry point into your app: $ touch app.py Open that file in your favorite text editor and add the following lines: import falcon api = application = falcon.API() That creates er.org/]. Also, don’t be shy about pulling up Falcon’s source code on GitHub or in your favorite text editor. The team has tried to make the code as straightforward and readable as possible; where other0 码力 | 312 页 | 368.58 KB | 1 年前3
Falcon v0.2.0 Documentationresult.reason resp.content_type = result.headers['content-type'] resp.body = result.text class AuthMiddleware(object): def process_request(self, req, resp): token = req.get_h file that will be the entry point into your app: $ touch app.py Open that file in your favorite text editor and add the following lines: import falcon api = application = falcon.API() That creates er.org/]. Also, don’t be shy about pulling up Falcon’s source code on GitHub or in your favorite text editor. The team has tried to make the code as straightforward and readable as possible; where other0 码力 | 188 页 | 358.44 KB | 1 年前3
Falcon v3.0.0 Documentationfalcon.HTTP_200 # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe me most, the starry sky ' 'above me and the moral law within falcon.HTTP_200 # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe me most, the starry sky ' (continues on next page) 16 status_code) + ' ' + result.reason resp.content_type = result.headers['content-type'] resp.text = result.text class AuthMiddleware: def process_request(self, req, resp): token = req.get_header('Authorization')0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.1 Documentationfalcon.HTTP_200 # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe me most, the starry sky ' 'above me and the moral law within falcon.HTTP_200 # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe me most, the starry sky ' (continues on next page) 16 status_code) + ' ' + result.reason resp.content_type = result.headers['content-type'] resp.text = result.text class AuthMiddleware: def process_request(self, req, resp): token = req.get_header('Authorization')0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.0-b2 Documentationfalcon.HTTP_200 # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe me most, the starry sky ' 'above me and the moral law within falcon.HTTP_200 # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe me most, the starry sky ' (continues on next page) 16 status_code) + ' ' + result.reason resp.content_type = result.headers['content-type'] resp.text = result.text class AuthMiddleware: def process_request(self, req, resp): token = req.get_header('Authorization')0 码力 | 340 页 | 1.15 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













