aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_http_check_ratelimited.py
Commit message (Collapse)AuthorAgeFilesLines
* Support receiving multiple header blocks in http responsesTrygve Aaberge2022-10-151-0/+49
One user experiences receiving a "HTTP/1.1 200 Connection established" header block before a "HTTP/2 200" header block with the headers. I'm not sure why specifically this happens, but I know a similar response will happen if redirects are followed. This wasn't supported by the http_check_ratelimited function which splits the header from the body. It now splits out all the header blocks from the body and uses the status and headers from the last one.