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

Requests with bad SRID's should 404 not 500? #157

Closed
stevenday opened this issue Jan 8, 2015 · 1 comment
Closed

Requests with bad SRID's should 404 not 500? #157

stevenday opened this issue Jan 8, 2015 · 1 comment

Comments

@stevenday
Copy link
Contributor

e.g. http://mapit.mysociety.org/nearest/84/50,-1.html (An example from the logs that was probably mis-typed) - SRID 84 doesn't exist, so I wouldn't think a 404 is a more suitable response.

@dracos
Copy link
Member

dracos commented Jan 8, 2015

Or 400 Bad Request perhaps. Looks like we already do some special exception spotting.

@dracos dracos closed this as completed in 54b6377 Jan 9, 2015
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

No branches or pull requests

2 participants