dharmafly / noodle

A node server and module which allows for cross-domain page scraping on web documents with JSONP or POST.
https://noodle.dharmafly.com/
745 stars 69 forks source link

request header should send content type and length #108

Closed kdocki closed 9 years ago

kdocki commented 9 years ago

When I make a post request to a site it does not work correctly because we are not treating the post request properly. I added the content-type (form) and content-length request headers for post requests. This fixes my problem and I thought it might fix some others problems too.

premasagar commented 9 years ago

Thanks.