Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 05f7b1f

Browse files
committed
Patch for an Issue #970
1 parent 2f74413 commit 05f7b1f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/request/connect.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ def getPage(**kwargs):
355355
post = unicodeencode(post, kb.pageEncoding)
356356

357357
if method:
358+
method = unicodeencode(method)
358359
req = MethodRequest(url, post, headers)
359360
req.set_method(method)
360361
else:

0 commit comments

Comments
 (0)