Since the execute_request
function sets the Content-Type
in self.headers
, this will lead to following GET-Requests on the same session sending the Content-Type
header as well if you don't manually clean up.
|
self.headers["Content-Type"] = content_type |