Commit graph

15 commits

Author SHA1 Message Date
Correl Roush
a2c25247d9 Update supported tornado and python versions
- Drop support for tornado<6
- Drop support for Python<3.9
- Add support for Python 3.10, 3.11, 3.12, and 3.13
2024-10-20 22:19:57 -04:00
Alexander Campbell
3dce6ca7b5 Use None for no request body instead of b""
This is how openapi-core expects a lack of request body. Currently
it can cause issues with validation because requests without a
body will be send to the validator with a request a body of empty
bytes that can't be validated.
2024-08-05 10:42:54 -04:00
16250d8f90 Blacken code 2021-02-26 15:34:54 -05:00
12813757d1 Add documentation 2021-02-26 15:28:32 -05:00
Gavin M. Roy
4896a5d5e0 Include cookies in the Request validation 2021-01-18 13:23:31 -05:00
513166456a Parse mimetype from content-type
OpenAPI objects expect lowercased mimetypes, with parameters stripped.
2021-01-13 14:33:39 -05:00
4102a14883 Leave request and response bodies as binary data
Decoding to UTF-8 text is the responsibility of the content-type loader
used in the validator, and should not be done prior.
2021-01-06 14:50:15 -05:00
b91feab778 Set stricter mypy parameters 2020-12-04 21:01:22 -05:00
2278f30be1 Format code with black 2020-12-04 13:37:25 -05:00
Gavin M. Roy
cbcbef3351 Tornado HTTPServerRequest.uri is just the path portion of the URI 2020-12-04 13:29:32 -05:00
53471f3fce Add support for tornado.httpclient.HTTPRequest 2020-11-25 22:25:19 -05:00
3c325a73ad Ignore tornado types
Not all supported versions of Tornado include type information.
2020-11-20 12:49:06 -05:00
c81019df96 Add a tornado-specific validator for convenience 2020-11-20 12:00:43 -05:00
e80db27aa9 Get mimetype from header 2020-11-19 19:37:58 -05:00
aa9e595fa9 Rename module 2020-09-25 10:55:54 -04:00
Renamed from openapi3/requests.py (Browse further)