Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

Create clean headers in each response to prevent side effects #2

Merged
merged 1 commit into from
Oct 31, 2017

Conversation

amatissart
Copy link
Contributor

With the current implementation, self.headers can be updated by successive handlers.
This may explain why we get inconsistent headers in responses,
such as overzoomFrom or even ETag and Last-Modified (both set by tilelive-vector).

This fix prevents these headers to pollute future requests.

@nyurik nyurik merged commit eb3f101 into kartotherian:master Oct 31, 2017
@nyurik
Copy link
Member

nyurik commented Oct 31, 2017

thanks!

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