Falcon v1.0.0 Documentationfriendly and stylish volunteers like yourself, who review patches, implement features, fix bugs, and write docs for the project. Your ideas and patches are always welcome! IRC If you are interested in helping engine, form helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data @staticmethod def handle(ex, req, resp, params): description = ('Sorry, couldn\'t write your thing to the ' 'database. It worked on my box.') raise falcon.HTTPError(falcon0 码力 | 249 页 | 406.22 KB | 1 年前3
Falcon v0.2.0 Documentationfriendly and stylish volunteers like yourself, who review patches, implement features, fix bugs, and write docs for the project. Your ideas and patches are always welcome! IRC If you are interested in helping engine, form helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data StorageError(Exception): @staticmethod def handle(ex, req, resp, params): description = ('Sorry, couldn\'t write your thing to the ' 'database. It worked on my box.') raise falcon.HTTPError(falcon.HTTP_725, 'Database0 码力 | 70 页 | 296.15 KB | 1 年前3
Falcon v0.3.0.1 Documentationfriendly and stylish volunteers like yourself, who review patches, implement features, fix bugs, and write docs for the project. Your ideas and patches are always welcome! IRC If you are interested in helping engine, form helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data StorageError(Exception): @staticmethod def handle(ex, req, resp, params): description = ('Sorry, couldn\'t write your thing to the ' 'database. It worked on my box.') raise falcon.HTTPError(falcon.HTTP_725, 'Database0 码力 | 77 页 | 311.34 KB | 1 年前3
Falcon v0.2.0 Documentationfriendly and stylish volunteers like yourself, who review patches, implement features, fix bugs, and write docs for the project. Your ideas and patches are always welcome! IRC If you are interested in helping engine, form helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data @staticmethod def handle(ex, req, resp, params): description = ('Sorry, couldn\'t write your thing to the ' 'database. It worked on my box.') raise falcon.HTTPError(falcon0 码力 | 188 页 | 358.44 KB | 1 年前3
Falcon v1.0.0 Documentationfriendly and stylish volunteers like yourself, who review patches, implement features, fix bugs, and write docs for the project. Your ideas and patches are always welcome! IRC If you are interested in helping engine, form helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data StorageError(Exception): @staticmethod def handle(ex, req, resp, params): description = ('Sorry, couldn\'t write your thing to the ' 'database. It worked on my box.') raise falcon.HTTPError(falcon.HTTP_725, 'Database0 码力 | 87 页 | 348.15 KB | 1 年前3
Falcon v0.3.0.1 Documentationfriendly and stylish volunteers like yourself, who review patches, implement features, fix bugs, and write docs for the project. Your ideas and patches are always welcome! IRC If you are interested in helping engine, form helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data @staticmethod def handle(ex, req, resp, params): description = ('Sorry, couldn\'t write your thing to the ' 'database. It worked on my box.') raise falcon.HTTPError(falcon0 码力 | 126 页 | 345.09 KB | 1 年前3
Falcon v1.0.0 Documentationengine, form helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data @staticmethod def handle(ex, req, resp, params): description = ('Sorry, couldn\'t write your thing to the ' 'database. It worked on my box.') raise falcon.HTTPError(falcon image_file.write(chunk) resp.status = falcon.HTTP_201 resp.location = '/images/' + filename As you can see, we generate a unique ID and filename for the new image, and then write it out by0 码力 | 312 页 | 368.58 KB | 1 年前3
Falcon v1.1.0 Documentationengine, form helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data StorageError(Exception): @staticmethod def handle(ex, req, resp, params): description = ('Sorry, couldn\'t write your thing to the ' 'database. It worked on my box.') raise falcon.HTTPError(falcon.HTTP_725, 'Database break image_file.write(chunk) resp.status = falcon.HTTP_201 resp.location = '/images/' + filename As you can see, we generate a unique ID and filename for the new image, and then write it out by reading0 码力 | 113 页 | 426.53 KB | 1 年前3
Falcon v1.2.0 Documentationengine, form helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data @staticmethod def handle(ex, req, resp, params): description = ('Sorry, couldn\'t write your thing to the ' 'database. It worked on my box.') raise falcon.HTTPError(falcon Fully exercising your code is critical to creating a robust application. Let’s take a moment to write a test for what’s been implemented so far. First, create a tests directory with __init__.py and a0 码力 | 177 页 | 252.56 KB | 1 年前3
Falcon v1.2.0 Documentationengine, form helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data StorageError(Exception): @staticmethod def handle(ex, req, resp, params): description = ('Sorry, couldn\'t write your thing to the ' 'database. It worked on my box.') raise falcon.HTTPError(falcon.HTTP_725, 6 Fully exercising your code is critical to creating a robust application. Let’s take a moment to write a test for what’s been implemented so far. First, create a tests directory with __init__.py and a0 码力 | 134 页 | 498.46 KB | 1 年前3
共 75 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













