Skip to content

Commit

Permalink
Replaced deprecated getheader in favor of headers (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
andruten authored Oct 19, 2024
1 parent e7ad0c2 commit 95f399d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion revproxy/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def _created_proxy_response(self, request, path):
decode_content=False,
preload_content=False)
self.log.debug("Proxy response header: %s",
proxy_response.getheaders())
proxy_response.headers)
except urllib3.exceptions.HTTPError as error:
self.log.exception(error)
raise
Expand Down

0 comments on commit 95f399d

Please sign in to comment.