From cbf38436f2e5de47840064d2419247f9cf3d74eb Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 29 Oct 2010 16:15:23 +0000 Subject: [PATCH] minor update --- lib/request/connect.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/request/connect.py b/lib/request/connect.py index b8e701904..17bcd7396 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -315,12 +315,16 @@ class Connect: if place == "GET": value = agent.removePayloadDelimiters(value, True) + elif place == "POST": - value = agent.removePayloadDelimiters(value, False) + value = agent.removePayloadDelimiters(value, True) + elif place == "Cookie": value = agent.removePayloadDelimiters(value, conf.cookieUrlencode) + elif place == "User-Agent": value = agent.removePayloadDelimiters(value, True) + elif place == "URI": value = agent.removePayloadDelimiters(value, False)