Commit Graph

32 Commits

Author SHA1 Message Date
Thomas Grainger b043fe56bc
configure pytest to be stricter (#1040)
* fix tests/test_datastructures::TestUploadFile PytestCollectionWarning

enhance pytest strictness to catch warnings that would have prevented
thest TestUploadFile file warning

restore cov-report and require 100% coverage

* Apply suggestions from code review

Co-authored-by: Jamie Hewland <jhewland@gmail.com>

* remove cov-fail-under

* Apply suggestions from code review

Co-authored-by: Jamie Hewland <jhewland@gmail.com>

* Apply suggestions from code review

Co-authored-by: Jamie Hewland <jhewland@gmail.com>

* Update setup.cfg

Co-authored-by: Jamie Hewland <jhewland@gmail.com>

Co-authored-by: Jamie Hewland <jhewland@gmail.com>
2020-09-11 11:19:47 +02:00
云中君 97257515f8
Thread pool is no longer used for files in memory (#933)
* https://github.com/Tinche/aiofiles/issues/47
Thread pool is no longer used for files in memory

* fix tests

* fix import sorted

* little change
2020-05-06 14:52:26 +01:00
Dušan Josipović 5845c08b22 Enable flag parameters (#672)
* Enable flag parameters

* Add tests for blank query param
2019-10-15 13:33:51 +01:00
Tom Christie 5355003aef include_query_params / replace_query_params / remove_query_params 2019-07-04 15:51:55 +01:00
Tom Christie bd9d11964c URL.add_query_params and URL.replace_query_params 2019-07-04 10:30:50 +01:00
Tom Christie e396f079a5
Version 0.11 (#402)
* Add Mount(routes=...)

* Lifespan route instance

* Lifespan as a standard routing component

* Linting

* Linting

* Version 0.10.6

* Release notes

* Version 0.11.0

* Drop redundant import

* Drop redundant database requirements

* Include htmlcov in scripts/clean

* Drop redundant import

* Release notes

* Linting
2019-02-19 12:54:57 +00:00
Tom Christie a4ebd7c474
Datastructure cleanups (#355)
* Version 0.10.0

* Datastructure cleanups

* Tweak release notes
2019-01-25 22:39:31 +00:00
Tom Christie 25cbba15c0
MultiDict (#345)
* Add MultiDict

* Add tests for MultiDict

* Ensure MultiDict behaves as discussed in #345

* Proper name for variable
2019-01-25 13:04:04 +00:00
Tom Christie b786f68d60
Add ImmutableMultiDict (#343) 2019-01-23 11:19:21 +00:00
Tom Christie c1b312ff73
Use urlsplit, not urlparse (#341) 2019-01-22 20:36:11 +00:00
Tom Christie 10b61f6cc2
Multi item form data (#339)
* Add a multidict FormData structure
2019-01-22 19:47:47 +00:00
Tom Christie 774cb40a17
Ensure query params behavior matches standard mappings. (#338)
* QueryParams behavior as standard mapping
2019-01-22 17:29:39 +00:00
Tom Christie fe2b926009
Add `CommaSeparatedStrings` datatype (#274)
* Add CommaSeparatedStrings datatype

* Version 0.9.9
2018-12-14 16:22:31 +00:00
Tom Christie 08af34763d
Version 0.9.4 (#251) 2018-12-05 16:38:45 +00:00
Tom Christie d2512656e3 Add Environ, DatabaseURL 2018-12-05 12:28:18 +00:00
Tom Christie 26d46d5a6e
Hide password in URL.__repr__ (#247) 2018-12-04 16:05:33 +00:00
Tom Christie 7455fd1f47
URL reconstruction fix (#204)
* Version 0.8.2

* Fix URL reconstruction
2018-11-09 13:39:51 +00:00
Tom Christie bcf876c686
Use isort for consistent import ordering (#156) 2018-10-29 14:46:42 +00:00
Ryan Kaskel a32ea0a8e8 Return an iterator over keys for Headers and QueryParams (#142) 2018-10-26 13:29:25 +01:00
Tom Christie 2b2c07078c Fix Headers repr 2018-10-17 14:01:26 +01:00
Tom Christie 4afb143f02 Add QueryParams(items=...) 2018-10-17 13:33:36 +01:00
Tom Christie 6dd6dd6f0a
Add scope=... arguments to Headers, QueryParams, URL (#118) 2018-10-17 12:31:53 +01:00
Tom Christie 77d995d7c8
Handle server: None and scheme: None cases in URL scope (#109) 2018-10-15 09:36:05 +01:00
Tom Christie 94044e5991
Tweaks to URL datastructure (#81)
* Tweaks to URL datastructure

* Linting
2018-10-05 11:29:06 +01:00
Tom Christie 6d2e9f4fae replace -> replace_components (Avoid clashing with str builtin) 2018-10-02 13:13:16 +01:00
Tom Christie cb9fc8746b
Redirect response (#39)
* Minor Request cleanups

* Black formatting

* Add RedirectResponse

* Black formatting

* Clean up test_redirect_response test case
2018-08-27 14:51:24 +01:00
Tom Christie d7e8896fa9 Black formatting 2018-07-13 13:44:42 +01:00
Tom Christie d1ea71f47e MutableHeaders retains insertion order 2018-07-13 13:39:41 +01:00
Tom Christie 140cf99df9 Add Headers.mutablecopy() 2018-07-13 13:35:35 +01:00
Tom Christie 2e0bd33f59 Use getlist, instead of get_list 2018-07-11 16:30:40 +01:00
Tom Christie 704b582d89 Performance improvements 2018-07-10 15:19:51 +01:00
Tom Christie 5a9fe3f048 Initial commit 2018-06-25 14:15:32 +01:00