Skip to content

Commit

Permalink
Fixes #3801
Browse files Browse the repository at this point in the history
  • Loading branch information
capooti committed May 11, 2018
1 parent a1601e2 commit 7de6421
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geonode/proxy/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ def proxy(request, url=None, response_callback=None,
conn = HTTPSConnection(url.hostname, url.port)
else:
conn = HTTPConnection(url.hostname, url.port)
conn.request(request.method, locator, request.body, headers)

conn.request(request.method, locator.encode('utf8'), request.body, headers)
response = conn.getresponse()
content = response.read()
status = response.status
Expand Down

0 comments on commit 7de6421

Please sign in to comment.