Tag: aiohttp
-
aiohttps: ValueError: Newline or carriage return character detected in HTTP status message or header. This is a potential security issue
0 I am using gql to run a query against a GraphQL API. I get this error: File "<path to poetry venv>/lib/python3.10/site-packages/aiohttp/http_writer.py", line 129, in write_headers buf = _serialize_headers(status_line, headers) File "aiohttp/_http_writer.pyx", line 132, in aiohttp._http_writer._serialize_headers File "aiohttp/_http_writer.pyx", line 116, in aiohttp._http_writer._safe_header ValueError: Newline or carriage return character detected in HTTP status message or header.…