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

Handle GZIP:ed responses #99

Closed joacim-boive closed 9 years ago

joacim-boive commented 9 years ago

Using noodle as a web service.

I'm getting a GZIP:ed response from a server, regardless what the HTTP Headers are set to.

Doing a GET like so: http://example.noodlejs.com?q={JSONBLOB}&callback=foo

Any way to uncompress a response in noodle? A code example would be greatly appreciated.

premasagar commented 9 years ago

Gzipped resources should be automatically unzipped. Are you able to share the URL / JSON blob?

joacim-boive commented 9 years ago

Turns out it was a server misconfiguration...

Thanks for the quick reply.

premasagar commented 9 years ago

Cool.

Premasagar Rose premasagar.com dharmafly.com twitter.com/premasagar github.com/premasagar