geosolutions-it / http-proxy

Lean and Mean HTTP Proxy written in Java
GNU General Public License v3.0
21 stars 31 forks source link

Body is not forwarded in case of application/x-www-form-urlencoded requests #22

Closed offtherailz closed 11 years ago

offtherailz commented 11 years ago

In case of application/x-www-form-urlencoded the body of the forwarded request is empty because in this case the parameterMap is taken from the request body, so the InputStream of the request is already read. Parse always the query string instead of getting the parameter map to avoid input stram flush