danwrong / restler

REST client library for node.js
MIT License
1.99k stars 391 forks source link

Re-encoding problem when following redirects #206

Open ivanbreet opened 9 years ago

ivanbreet commented 9 years ago

Hi,

There seems to be an issue where POST data body gets re-encoded with every redirect.

In my case, I initially have a data as a string(this.options.data), but after the redirect it's and object. This results in a mangled payload body.

Restler version 3.2.2. Node: v0.10.26

Regards