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
Falcon v3.0.0-b2 Documentationimport falcon import requests class StorageEngine: def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] (continues on next page) 5.1. User Guide 17 Falcon Documentation Documentation, Release 3.0.0b2 (continued from previous page) def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception): @staticmethod def handle(ex, req, resp def process_request(self, req, resp): token = req.get_header('Authorization') account_id = req.get_header('Account-ID') challenges = ['Token type="Fernet"'] if token is None: description = ('Please provide0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.0.0 Documentationimport falcon import requests class StorageEngine: def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] (continues on next page) 5.1. User Guide 17 Falcon Documentation Documentation, Release 3.0.0 (continued from previous page) def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception): @staticmethod def handle(ex, req, resp def process_request(self, req, resp): token = req.get_header('Authorization') account_id = req.get_header('Account-ID') challenges = ['Token type="Fernet"'] if token is None: description = ('Please provide0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.1 Documentationimport falcon import requests class StorageEngine: def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] (continues on next page) 5.1. User Guide 17 Falcon Documentation Documentation, Release 3.0.1 (continued from previous page) def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception): @staticmethod def handle(ex, req, resp def process_request(self, req, resp): token = req.get_header('Authorization') account_id = req.get_header('Account-ID') challenges = ['Token type="Fernet"'] if token is None: description = ('Please provide0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.0-b1 DocumentationStorageEngine: 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): def process_request(self, req, resp): token = req.get_header('Authorization') account_id = req.get_header('Account-ID') challenges = ['Token type="Fernet"'] if token is None: description = ('Please provide challenges=challenges, href='http://docs.example.com/auth') if not self._token_is_valid(token, account_id): description = ('The provided auth token is not valid. ' 'Please request a new token and try again0 码力 | 338 页 | 1.14 MB | 1 年前3
Falcon v3.1.1-b3 DocumentationStorageEngine: 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): def process_request(self, req, resp): token = req.get_header('Authorization') account_id = req.get_header('Account-ID') challenges = ['Token type="Fernet"'] if token is None: description = 'Please provide challenges=challenges, href='http://docs.example.com/auth', ) if not self._token_is_valid(token, account_id): description = ( 'The provided auth token is not valid. ' 'Please request a new token and try again0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-b1 DocumentationStorageEngine: 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): def process_request(self, req, resp): token = req.get_header('Authorization') account_id = req.get_header('Account-ID') challenges = ['Token type="Fernet"'] if token is None: description = 'Please provide challenges=challenges, href='http://docs.example.com/auth', ) if not self._token_is_valid(token, account_id): description = ( 'The provided auth token is not valid. ' 'Please request a new token and try again0 码力 | 378 页 | 1.29 MB | 1 年前3
共 79 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













