Skip to content
This repository was archived by the owner on Dec 3, 2018. It is now read-only.

Conversation

@springmeyer
Copy link
Contributor

This looks like a holdover from pre-gzip days.

@yhahn - can you give me a tip for where best to add a test for this? I've looked around middleware.test.js, source.test.js, and test-client.js but its opaque to me where the right place would be to query a source via url and assert on its content-encoding.

@springmeyer
Copy link
Contributor Author

Note: without this fix downloading tiles in chrome would produce corrupt files:

screen shot 2015-02-24 at 10 40 51 pm

@yhahn
Copy link
Member

yhahn commented Mar 2, 2015

👍

@springmeyer
Copy link
Contributor Author

merging now, tests in followup #1240

springmeyer pushed a commit that referenced this pull request Mar 6, 2015
Report gzip content-encoding for vector.pbf response
@springmeyer springmeyer merged commit b4e0035 into mb-pages Mar 6, 2015
@springmeyer springmeyer deleted the fix-content-encoding branch March 6, 2015 16:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants