-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Milestone
Description
The http module in nativescript apparently doesn't support basic things like gzip (at least on Android). I have a server that by default is sending a gzipped response (to save major bandwidth as the data is rather large) and of course then the http module will die a horribile death and throw a Java EOF error.
This is actually something that is very surprising that it is totally broken in NS as anything mobile we want to save the amount of data being transferred. So by default we should be supporting http data compression.
If anyone else runs into this issue; you can send the header: accept-encoding: identity which will force it to be a text based uncompressed stream protocol.
kumarandena, manojdcoder and webleaf
Metadata
Metadata
Assignees
Labels
No labels