Browse Source

Merge branch 'peek-1843' into 'master'

PEEK-1843 merge patches by franklx on github

See merge request peek/util/soappy-py3!3
main
Jarrod Chesney 2 years ago
parent
commit
bed64a3b13
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/SOAPpy/Client.py

+ 2
- 1
src/SOAPpy/Client.py View File

@@ -45,6 +45,7 @@
ident = '$Id: Client.py 1496 2010-03-04 23:46:17Z pooryorick $'

from .version import __version__
from io import StringIO

#import xml.sax
import urllib.request, urllib.parse, urllib.error
@@ -152,7 +153,7 @@ class HTTP:
return -1, e.line, None

self.headers = response.msg
self.file = response.fp
self.file = StringIO(response.fp.read().decode('utf-8'))
return response.status, response.reason, response.msg

def close(self):


Loading…
Cancel
Save