Falcon v3.0.0 DocumentationHeader Names Parsing Nested Multipart Forms Outputting CSV Files Prettifying JSON Responses Request ID Logging FAQ Design Philosophy Performance Routing Extensibility Request Handling Response Handling Header Names Parsing Nested Multipart Forms Outputting CSV Files Prettifying JSON Responses Request ID Logging FAQ Design Philosophy Performance Routing Extensibility Request Handling Response Handling def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception):0 码力 | 1055 页 | 739.30 KB | 1 年前3
Falcon v3.0.1 DocumentationHeader Names Parsing Nested Multipart Forms Outputting CSV Files Prettifying JSON Responses Request ID Logging FAQ Design Philosophy Performance Routing Extensibility Request Handling Response Handling Header Names Parsing Nested Multipart Forms Outputting CSV Files Prettifying JSON Responses Request ID Logging FAQ Design Philosophy Performance Routing Extensibility Request Handling Response Handling def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception):0 码力 | 1058 页 | 741.59 KB | 1 年前3
Falcon v3.0.0-b2 DocumentationHeader Names Parsing Nested Multipart Forms Outputting CSV Files Prettifying JSON Responses Request ID Logging FAQ Design Philosophy Performance Routing Extensibility Request Handling Response Handling Header Names Parsing Nested Multipart Forms Outputting CSV Files Prettifying JSON Responses Request ID Logging FAQ Design Philosophy Performance Routing Extensibility Request Handling Response Handling def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception):0 码力 | 1041 页 | 730.21 KB | 1 年前3
Falcon v3.0.0-b1 DocumentationHeader Names Parsing Nested Multipart Forms Outputting CSV Files Prettifying JSON Responses Request ID Logging FAQ Design Philosophy Performance Routing Extensibility Request Handling Response Handling Header Names Parsing Nested Multipart Forms Outputting CSV Files Prettifying JSON Responses Request ID Logging FAQ Design Philosophy Performance Routing Extensibility Request Handling Response Handling def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class Stor0 码力 | 1028 页 | 725.86 KB | 1 年前3
Tornado 4.5 Documentation
coroutine decorator communicates with the generator via the yield expressions, and with the coroutine’s caller by returning a Future. Here is a simplified version of the coroutine decorator’s inner loop: # def initialize(self, db): self.db = db def get(self, story_id): self.write("this is story %s" % story_id) app = Application([ url(r"/", MainHandler), url(r"/story/([0-9]+)" Application([ url(r"/app", tornado.web.RedirectHandler, dict(url="http://itunes.apple.com/my-app-id")), ]) RedirectHandler also supports regular expression substitutions. The following rule redirects0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 5.1 Documentation
coroutine decorator communicates with the generator via the yield expressions, and with the coroutine’s caller by returning a Future. Here is a simplified version of the coroutine decorator’s inner loop: # def initialize(self, db): self.db = db def get(self, story_id): self.write("this is story %s" % story_id) app = Application([ url(r"/", MainHandler), url(r"/story/([0-9]+)" Application([ url(r"/app", tornado.web.RedirectHandler, dict(url="http://itunes.apple.com/my-app-id")), ]) RedirectHandler also supports regular expression substitutions. The following rule redirects0 码力 | 359 页 | 347.32 KB | 1 年前3
Falcon v3.1.1 DocumentationNested Multipart Forms Outputting CSV Files Prettifying JSON Responses Decoding Raw URL Path Request ID Logging FAQ Design Philosophy Performance Routing Extensibility Request Handling Response Handling Nested Multipart Forms Outputting CSV Files Prettifying JSON Responses Decoding Raw URL Path Request ID Logging FAQ Design Philosophy Performance Routing Extensibility Request Handling Response Handling def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception):0 码力 | 540 页 | 476.60 KB | 1 年前3
Falcon v3.1.1-rc1 DocumentationNested Multipart Forms Outputting CSV Files Prettifying JSON Responses Decoding Raw URL Path Request ID Logging FAQ Design Philosophy Performance Routing Extensibility Request Handling Response Handling Nested Multipart Forms Outputting CSV Files Prettifying JSON Responses Decoding Raw URL Path Request ID Logging FAQ Design Philosophy Performance Routing Extensibility Request Handling Response Handling def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception):0 码力 | 540 页 | 476.61 KB | 1 年前3
Falcon v3.1.0 DocumentationNested Multipart Forms Outputting CSV Files Prettifying JSON Responses Decoding Raw URL Path Request ID Logging FAQ Design Philosophy Performance Routing Extensibility Request Handling Response Handling Nested Multipart Forms Outputting CSV Files Prettifying JSON Responses Decoding Raw URL Path Request ID Logging FAQ Design Philosophy Performance Routing Extensibility Request Handling Response Handling def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception):0 码力 | 537 页 | 474.34 KB | 1 年前3
Falcon v3.1.1-b3 DocumentationNested Multipart Forms Outputting CSV Files Prettifying JSON Responses Decoding Raw URL Path Request ID Logging FAQ Design Philosophy Performance Routing Extensibility Request Handling Response Handling Nested Multipart Forms Outputting CSV Files Prettifying JSON Responses Decoding Raw URL Path Request ID Logging FAQ Design Philosophy Performance Routing Extensibility Request Handling Response Handling def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception):0 码力 | 540 页 | 476.61 KB | 1 年前3
共 642 条
- 1
- 2
- 3
- 4
- 5
- 6
- 65













