Browse Source

document aiohttp client header parser 8kb limit

main
forest 3 months ago
parent
commit
d2f41a1be3
  1. 6
      capsulflask/http_client.py

6
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())

Loading…
Cancel
Save