Patch for an Issue #970

This commit is contained in:
Miroslav Stampar 2014-11-24 10:55:19 +01:00
parent 2f744139fc
commit 05f7b1f121

View File

@ -355,6 +355,7 @@ class Connect(object):
post = unicodeencode(post, kb.pageEncoding) post = unicodeencode(post, kb.pageEncoding)
if method: if method:
method = unicodeencode(method)
req = MethodRequest(url, post, headers) req = MethodRequest(url, post, headers)
req.set_method(method) req.set_method(method)
else: else: