Falcon v3.0.0-b2 DocumentationFalcon Documentation Release 3.0.0b2 Kurt Griffiths et al. Mar 03, 2021 CONTENTS 1 What People are Saying 3 2 Quick Links 5 3 Features 7 4 Who’s Using Falcon? 9 5 Documentation 11 5.1 User Guide . . . . . 324 Python Module Index 327 Index 329 ii Falcon Documentation, Release 3.0.0b2 Release v3.0b2 (Installation) Falcon is a minimalist WSGI library for building speedy web APIs and app backends falcon.App() app.add_route('/quote', QuoteResource()) CONTENTS 1 Falcon Documentation, Release 3.0.0b2 2 CONTENTS CHAPTER ONE WHAT PEOPLE ARE SAYING “We have been using Falcon as a replacement for [framework]0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.0.0-b2 DocumentationThe Falcon Web Framework Release v3.0b2 (Installation) Falcon is a minimalist WSGI library for building speedy web APIs and app backends. We like to think of Falcon as the Dieter Rams of web frameworks Setting Cookies The Secure Attribute The SameSite Attribute Status Codes HTTPStatus 1xx Informational 2xx Success 3xx Redirection 4xx Client Error 5xx Server Error Error Handling Base Class Predefined Errors ipython Now, type the following to introspect the falcon.App callable: In [1]: import falcon In [2]: falcon.App.__call__? Alternatively, you can use the standard Python help() function: In [3]: help(falcon0 码力 | 1041 页 | 730.21 KB | 1 年前3
Falcon v1.4.0 Documentationipython Now, type the following to introspect the falcon.API callable: In [1]: import falcon In [2]: falcon.API.__call__? Alternatively, you can use the standard Python help() function: In [3]: help(falcon doc = { 'images': [ { 'href': '/images/1eaf6ef1-7f2d-4ecc-a8d5- 6e8adba7cc0e.png' } ] } # Create a JSON representation doc = { 'images': [ { 'href': '/images/1eaf6ef1-7f2d-4ecc-a8d5- 6e8adba7cc0e.png' } ] } resp.data = msgpack.packb(doc0 码力 | 230 页 | 271.65 KB | 1 年前3
Falcon v1.4.1 Documentationipython Now, type the following to introspect the falcon.API callable: In [1]: import falcon In [2]: falcon.API.__call__? Alternatively, you can use the standard Python help() function: In [3]: help(falcon doc = { 'images': [ { 'href': '/images/1eaf6ef1-7f2d-4ecc-a8d5- 6e8adba7cc0e.png' } ] } # Create a JSON representation doc = { 'images': [ { 'href': '/images/1eaf6ef1-7f2d-4ecc-a8d5- 6e8adba7cc0e.png' } ] } resp.data = msgpack.packb(doc0 码力 | 231 页 | 272.52 KB | 1 年前3
Falcon v1.4.1-post-1 Documentationipython Now, type the following to introspect the falcon.API callable: In [1]: import falcon In [2]: falcon.API.__call__? Alternatively, you can use the standard Python help() function: In [3]: help(falcon doc = { 'images': [ { 'href': '/images/1eaf6ef1-7f2d-4ecc-a8d5- 6e8adba7cc0e.png' } ] } # Create a JSON representation doc = { 'images': [ { 'href': '/images/1eaf6ef1-7f2d-4ecc-a8d5- 6e8adba7cc0e.png' } ] } resp.data = msgpack.packb(doc0 码力 | 229 页 | 273.39 KB | 1 年前3
Falcon v1.0.0 Documentationhigh-quality API based on Falcon requires that: 1. Resource responders set response variables to sane values. 2. Your code is well-tested, with high code coverage. 3. Errors are anticipated, detected, and handled has two dependencies: six [http://pythonhosted.org/six/], to make it easier to support both Python 2 and 3, and mimeparse [https://code.google.com/p/mimeparse/] for handling complex Accept headers. Neither ipython Now, type the following to introspect the falcon.API callable: In [1]: import falcon In [2]: falcon.API.__call__? Alternatively, you can use the built-in help function: In [3]: help(falcon0 码力 | 312 页 | 368.58 KB | 1 年前3
Falcon v1.2.0 Documentationhigh-quality API based on Falcon requires that: 1. Resource responders set response variables to sane values. 2. Your code is well-tested, with high code coverage. 3. Errors are anticipated, detected, and handled has two dependencies: six [http://pythonhosted.org/six/], to make it easier to support both Python 2 and 3, and mimeparse [https://code.google.com/p/mimeparse/] for handling complex Accept headers. Neither ipython Now, type the following to introspect the falcon.API callable: In [1]: import falcon In [2]: falcon.API.__call__? Alternatively, you can use the standard Python help() function: In [3]: help(falcon0 码力 | 177 页 | 252.56 KB | 1 年前3
Falcon v1.3.0 Documentationipython Now, type the following to introspect the falcon.API callable: In [1]: import falcon In [2]: falcon.API.__call__? Alternatively, you can use the standard Python help() function: In [3]: help(falcon doc = { 'images': [ { 'href': '/images/1eaf6ef1-7f2d-4ecc-a8d5- 6e8adba7cc0e.png' } ] } # Create a JSON representation doc = { 'images': [ { 'href': '/images/1eaf6ef1-7f2d-4ecc-a8d5- 6e8adba7cc0e.png' } ] } resp.data = msgpack.packb(doc0 码力 | 194 页 | 266.90 KB | 1 年前3
Falcon v2.0.0 DocumentationDocumentation Release 2.0.0 Kurt Griffiths et al. Apr 26, 2019 Contents 1 What People are Saying 3 2 Quick Links 5 3 Features 7 4 Who’s Using Falcon? 9 5 Documentation 11 5.1 User Guide . . . . . falcon.API() api.add_route('/quote', QuoteResource()) Contents 1 Falcon Documentation, Release 2.0.0 2 Contents CHAPTER 1 What People are Saying “We have been using Falcon as a replacement for [framework] TRY IT NOW ?” 3 Falcon Documentation, Release 2.0.0 4 Chapter 1. What People are Saying CHAPTER 2 Quick Links • Read the docs • Falcon add-ons and complementary packages • Falcon talks, podcasts0 码力 | 184 页 | 671.87 KB | 1 年前3
Falcon v1.4.1 DocumentationDocumentation Release 1.4.1.post-1 Kurt Griffiths et al. Aug 08, 2018 Contents 1 What People are Saying 3 2 Quick Links 5 3 Features 7 4 Who’s Using Falcon? 9 5 Documentation 11 5.1 User Guide . . . . . app.add_route('/items/{id}', CatalogItem()) Contents 1 Falcon Documentation, Release 1.4.1.post-1 2 Contents CHAPTER 1 What People are Saying “We have been using Falcon as a replacement for [framework] NOW ?” 3 Falcon Documentation, Release 1.4.1.post-1 4 Chapter 1. What People are Saying CHAPTER 2 Quick Links • Read the docs • Falcon add-ons and complementary packages • Falcon talks, podcasts0 码力 | 158 页 | 587.88 KB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













