From 6a01d2e4309882d29bd4f21c883881927a5026c1 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 30 Aug 2015 02:13:07 +0200 Subject: [PATCH] Fixes #1366 --- lib/request/connect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/request/connect.py b/lib/request/connect.py index 63bb1ba22..76b1afdf8 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -374,7 +374,7 @@ class Connect(object): headers[unicodeencode(key, kb.pageEncoding)] = unicodeencode(item, kb.pageEncoding) url = unicodeencode(url) - post = unicodeencode(post, kb.pageEncoding) + post = unicodeencode(post) if websocket_: ws = websocket.WebSocket()