From d2f41a1be3946c711b85642f8221c5ebcf25bb8a Mon Sep 17 00:00:00 2001 From: forest Date: Tue, 12 Apr 2022 14:20:47 -0500 Subject: [PATCH] document aiohttp client header parser 8kb limit --- capsulflask/http_client.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/capsulflask/http_client.py b/capsulflask/http_client.py index 201a392..4158e9b 100644 --- a/capsulflask/http_client.py +++ b/capsulflask/http_client.py @@ -66,6 +66,12 @@ class MyHTTPClient: json=body, headers=headers, verify_ssl=True, + # these are supported in a later version but should not be needed... ? + # https://github.com/aio-libs/aiohttp/issues/2304 + # https://github.com/jorop/aiohttp/commit/d882ed3169eb3e223902f4e85b67bbdfc25169da + # max_line_size=65536, + # max_headers=65536, + # max_field_size=65536, ) except: error_message = my_exec_info_message(sys.exc_info())