add HTTP header parsing

This commit is contained in:
Vincent Maillol
2020-10-04 20:55:13 +02:00
parent 88fd7b9270
commit cc0cbfbb5e
3 changed files with 74 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ async def test_get_article_with_wrong_qs_type_should_return_an_error_message(aio
'type': 'type_error.bool'}]
async def test_get_article_with_valide_qs_should_return_the_parsed_type(aiohttp_client, loop):
async def test_get_article_with_valid_qs_should_return_the_parsed_type(aiohttp_client, loop):
app = web.Application()
app.router.add_view('/article', ArticleView)