Skip to content

Comments

fix #53 wrong response code on overzoom requests#54

Open
ramunasd wants to merge 1 commit intomojodna:masterfrom
ramunasd:http_status_fix
Open

fix #53 wrong response code on overzoom requests#54
ramunasd wants to merge 1 commit intomojodna:masterfrom
ramunasd:http_status_fix

Conversation

@ramunasd
Copy link
Contributor

this also introduces functional tests, based on mocha

@mojodna
Copy link
Owner

mojodna commented Apr 20, 2016

I'm a little backed up, so it may be a few days before I can fully review this.

Can you summarize the changes, specifically how this changes behavior? Thanks!

@ramunasd
Copy link
Contributor Author

Well, the main idea is to add additional argument to getTile callback function. This argument is http status code, which must be returned. So now http status code is determined in one place, during request validation and getTile callback just sends everything as it gets :)

@ramunasd
Copy link
Contributor Author

Hi @mojodna would be nice to get Your feedback ;)

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.

2 participants