Browse Source

PEEK-1843 merge patches by franklx on github

from https://github.com/Synerty/SOAPpy-py3/pull/2 by franklx

This contains
145811d9c1.patch
a91863242e.patch
main
Louis Lu 2 years ago
parent
commit
7390f5ad16
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