minor update

This commit is contained in:
Miroslav Stampar 2010-10-29 16:15:23 +00:00
parent 5a38ac7ea9
commit cbf38436f2

View File

@ -315,12 +315,16 @@ class Connect:
if place == "GET": if place == "GET":
value = agent.removePayloadDelimiters(value, True) value = agent.removePayloadDelimiters(value, True)
elif place == "POST": elif place == "POST":
value = agent.removePayloadDelimiters(value, False) value = agent.removePayloadDelimiters(value, True)
elif place == "Cookie": elif place == "Cookie":
value = agent.removePayloadDelimiters(value, conf.cookieUrlencode) value = agent.removePayloadDelimiters(value, conf.cookieUrlencode)
elif place == "User-Agent": elif place == "User-Agent":
value = agent.removePayloadDelimiters(value, True) value = agent.removePayloadDelimiters(value, True)
elif place == "URI": elif place == "URI":
value = agent.removePayloadDelimiters(value, False) value = agent.removePayloadDelimiters(value, False)