minor update (added comment)

This commit is contained in:
Miroslav Stampar 2011-03-11 20:07:52 +00:00
parent 6cc745f789
commit 2fd3f0d7b2

View File

@ -417,6 +417,8 @@ class Connect:
elif place:
if place in (PLACE.GET, PLACE.POST):
# payloads in GET and/or POST need to be urlencoded
# throughly without safe chars (especially &, = and %)
payload = urlencode(payload, None, True, True)
value = agent.replacePayload(value, payload)