Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compressed changeset upload #231

Closed
tordans opened this issue May 2, 2019 · 2 comments
Closed

Compressed changeset upload #231

tordans opened this issue May 2, 2019 · 2 comments

Comments

@tordans
Copy link

tordans commented May 2, 2019

Does this openstreetmap/iD#6231 make sense for GoMap as well and does iOS have an easy way to support something like this?

Otherwise, please close again :-).

@bryceco
Copy link
Owner

bryceco commented May 2, 2019

My understanding for downloaded content is that iOS automatically requests gzipped data transparently. I assumed (but don’t know for certain) the same is true for uploading?

@mmd-osm
Copy link

mmd-osm commented May 2, 2019

Probably all frameworks I'm aware of won't automatically compress the payload of an HTTP POST request, so this won't happen transparently (unlike the download case). Reason being that the endpoint needs to explicitly support Content-Encoding: gzip, which kind of defeats the idea to compress the payload by default.

Also see: openstreetmap/operations#193 (comment) re. fallback to uncompressed upload in case of 415 Unsupported Media Type.

tannerwuster pushed a commit to KaartGroup/GoKaart that referenced this issue Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants