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

Support HTTP 204 response #734

Merged
merged 3 commits into from
Nov 28, 2019
Merged

Support HTTP 204 response #734

merged 3 commits into from
Nov 28, 2019

Conversation

bcamper
Copy link
Member

@bcamper bcamper commented Nov 10, 2019

Fixes #729.

Adds support for HTTP 204 (No Content) responses in tile requests. Any tiles returning a 204 will be considered to have loaded successfully, but will simply be empty. Previously these requests would cause warnings as a non-200 response.

@bcamper bcamper added this to the v0.19.1 milestone Nov 10, 2019
@bcamper
Copy link
Member Author

bcamper commented Nov 10, 2019

Hi @Zaitsev -- if you want to verify this fix with your tile source, there is a build of this branch available here:

https://204-response--tangram.netlify.com/dist/tangram.debug.js

@bcamper bcamper merged commit 998cb95 into master Nov 28, 2019
@bcamper bcamper deleted the 204-response branch November 28, 2019 18:16
@bcamper
Copy link
Member Author

bcamper commented Nov 29, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTTP response code 204 emits warnings
1 participant