'NoneType' object has no attribute 'get'
when stream=True
in FastHttpSession.request
#2640
Closed
2 tasks done
Labels
Prerequisites
Description
I'm using the
request(..., stream=True)
in my task and occasionally, I get the following stack trace (slightly redacted):The issue happens when there's a network connectivity problem, making
response
having noresponse.headers
object.Maybe a somewhat safer approach around the code
in
FastHttpSession.request
is necessary?Command line
Executed via IDE Debugger (does not matter)
Locustfile contents
Python version
3.11
Locust version
2.24.0
Operating system
Linux
The text was updated successfully, but these errors were encountered: