Commit graph

18 commits

Author SHA1 Message Date
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
b69f690d50 Remove the ci Hypothesis profile
It is slow and there's no real benefit from it at this time.
2020-12-04 23:34:57 -05:00
3704bfab49 Configure Hypothesis profiles
Add a ci profile using more examples for automated testing and a dev
profile for rapid local testing.
2020-12-04 22:44:22 -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
8c750bc16c Add additional request tests
- Cover empty url cases
- Test using the new RequestValidator object
2020-11-26 22:24:58 -05:00
bcf128e69d Add response validation 2020-11-26 00:05:02 -05:00
53471f3fce Add support for tornado.httpclient.HTTPRequest 2020-11-25 22:25:19 -05:00
a5aa5adc9f Mark library as typed and bump version 2020-11-23 11:29:28 -05:00
3c325a73ad Ignore tornado types
Not all supported versions of Tornado include type information.
2020-11-20 12:49:06 -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
e48a589124 Add url parameters tests 2020-09-19 20:38:08 -04:00
6003025ee3 Add negative simple request test 2020-09-18 00:01:10 -04:00
a10aaf7817 Test simple HTTP requests 2020-09-17 23:39:35 -04:00
ef4f7fc6ef Initial commit 2020-09-16 23:04:11 -04:00