Skip to content

Commit

Permalink
xmlrpc: Drop explicit UTF-8 encoding setup
Browse files Browse the repository at this point in the history
I don't think this is required anymore

Signed-off-by: Cole Robinson <crobinso@redhat.com>
  • Loading branch information
crobinso committed Nov 12, 2020
1 parent 4c5a66b commit 4fc3636
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bugzilla/_backendxmlrpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ def __request_helper(self, url, request_body):
response = self.__bugzillasession.request(
"POST", url, data=request_body)

# We expect utf-8 from the server
response.encoding = 'UTF-8'

# update/set any cookies
self.__bugzillasession.set_response_cookies(response)

Expand Down

0 comments on commit 4fc3636

Please sign in to comment.