Falcon v1.0.0 Documentationto ask questions and share your ideas. You can find us in #falconframework [https://kiwiirc.com/client/irc.freenode.net/?#falconframework] on Freenode [https://en.wikipedia.org/wiki/Freenode]. Discussion just need a little help getting started. You can find us in #falconframework [https://kiwiirc.com/client/irc.freenode.net/?#falconframework] on Freenode [https://www.freenode.net/]. It’s the best way to processing the response body when, according to the HTTP spec, no body should be returned. If the client sends a HEAD request, the framework will always return an empty body. Falcon will also return an0 码力 | 312 页 | 368.58 KB | 1 年前3
Falcon v1.2.0 Documentationto ask questions and share your ideas. You can find us in #falconframework [https://kiwiirc.com/client/irc.freenode.net/?#falconframework] on Freenode [https://en.wikipedia.org/wiki/Freenode]. Discussion just need a little help getting started. You can find us in #falconframework [https://kiwiirc.com/client/irc.freenode.net/?#falconframework] on Freenode [https://www.freenode.net/]. It’s the best way to processing the response body when, according to the HTTP spec, no body should be returned. If the client sends a HEAD request, the framework will always return an empty body. Falcon will also return an0 码力 | 177 页 | 252.56 KB | 1 年前3
Falcon v1.2.0 Documentationprocessing the response body when, according to the HTTP spec, no body should be returned. If the client sends a HEAD request, the framework will always return an empty body. Falcon will also return an falcon.HTTP_416 falcon.HTTP_304 If you have another case where you body isn’t being returned to the client, it’s probably a bug! Let us know in IRC or on the mailing list so we can help. My app is setting secure cookie attribute. Therefore, if you are testing your app over HTTP (instead of HTTPS), the client will not send the cookie in subsequent requests. See also the cookie documentation Why does raising0 码力 | 134 页 | 498.46 KB | 1 年前3
Falcon v3.1.0 Documentation# Suuuuuure it's valid... class RequireJSON: def process_request(self, req, resp): if not req.client_accepts_json: raise falcon.HTTPNotAcceptable( description='This API only supports responses encoded engines[engine] params = {'q': req.get_param('q', True)} async with httpx.AsyncClient() as client: result = await client.get(url, params=params) resp.status = result.status_code resp.content_type = result. Suuuuuure it's valid... class RequireJSON: async def process_request(self, req, resp): if not req.client_accepts_json: raise falcon.HTTPNotAcceptable( description='This API only supports responses encoded0 码力 | 362 页 | 1.29 MB | 1 年前3
Falcon v3.0.0-b2 Documentation# Suuuuuure it's valid... class RequireJSON: def process_request(self, req, resp): if not req.client_accepts_json: raise falcon.HTTPNotAcceptable( description='This API only supports responses encoded Documentation, Release 3.0.0b2 (continued from previous page) async with httpx.AsyncClient() as client: result = await client.get(url, params=params) resp.status = result.status_code resp.content_type = result. Suuuuuure it's valid... class RequireJSON: async def process_request(self, req, resp): if not req.client_accepts_json: raise falcon.HTTPNotAcceptable( description='This API only supports responses encoded0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.0.0 Documentation# Suuuuuure it's valid... class RequireJSON: def process_request(self, req, resp): if not req.client_accepts_json: raise falcon.HTTPNotAcceptable( description='This API only supports responses encoded Documentation, Release 3.0.0 (continued from previous page) async with httpx.AsyncClient() as client: result = await client.get(url, params=params) resp.status = result.status_code resp.content_type = result. Suuuuuure it's valid... class RequireJSON: async def process_request(self, req, resp): if not req.client_accepts_json: raise falcon.HTTPNotAcceptable( description='This API only supports responses encoded0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.1 Documentation# Suuuuuure it's valid... class RequireJSON: def process_request(self, req, resp): if not req.client_accepts_json: raise falcon.HTTPNotAcceptable( description='This API only supports responses encoded Documentation, Release 3.0.1 (continued from previous page) async with httpx.AsyncClient() as client: result = await client.get(url, params=params) resp.status = result.status_code resp.content_type = result. Suuuuuure it's valid... class RequireJSON: async def process_request(self, req, resp): if not req.client_accepts_json: raise falcon.HTTPNotAcceptable( description='This API only supports responses encoded0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.0-b1 DocumentationDocumentation Falcon Documentation, Release 3.0.0b1 (continued from previous page) if not req.client_accepts_json: raise falcon.HTTPNotAcceptable( description='This API only supports responses encoded engines[engine] params = {'q': req.get_param('q', True)} async with httpx.AsyncClient() as client: result = await client.get(url, params=params) resp.status = result.status_code resp.content_type = result. Suuuuuure it's valid... class RequireJSON: async def process_request(self, req, resp): if not req.client_accepts_json: raise falcon.HTTPNotAcceptable( description='This API only supports responses encoded0 码力 | 338 页 | 1.14 MB | 1 年前3
Falcon v3.0.1 DocumentationThe SameSite Attribute Status Codes HTTPStatus 1xx Informational 2xx Success 3xx Redirection 4xx Client Error 5xx Server Error Error Handling Base Class Predefined Errors Media Usage Validating Media Suuuuuure it's valid... class RequireJSON: def process_request(self, req, resp): if not req.client_accepts_json: raise falcon.HTTPNotAcceptable( description='This API only params = {'q': req.get_param('q', True)} async with httpx.AsyncClient() as client: result = await client.get(url, params=params) resp.status = result.status_code resp.content_type0 码力 | 1058 页 | 741.59 KB | 1 年前3
Falcon v3.0.0 DocumentationThe SameSite Attribute Status Codes HTTPStatus 1xx Informational 2xx Success 3xx Redirection 4xx Client Error 5xx Server Error Error Handling Base Class Predefined Errors Media Usage Validating Media Suuuuuure it's valid... class RequireJSON: def process_request(self, req, resp): if not req.client_accepts_json: raise falcon.HTTPNotAcceptable( description='This API only params = {'q': req.get_param('q', True)} async with httpx.AsyncClient() as client: result = await client.get(url, params=params) resp.status = result.status_code resp.content_type0 码力 | 1055 页 | 739.30 KB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













