HTTP 500 Server Error returned with intentionally empty tiles (aka missing tiles), ideally should return HTTP 204 No Content #1188
Closed
davidcalhoun
started this conversation in
General
Replies: 2 comments 6 replies
-
Extra context: mbtileserver returns HTTP 204 No Content for missing tiles, which is more ideal, see their readme. |
Beta Was this translation helpful? Give feedback.
5 replies
-
Closing this out, we figured out the issue! This was fixed by upgrading from martin Summary:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks, thanks for making this great library!
I'm running into a situation where our UI makes requests for areas where there's no data (empty tiles). In these cases
martin
returns HTTP 500 responses which causes a lot of spam in our network logs (too many false positive errors, falsely indicating there's a problem with the server). In this situation the empty tile is normal and expected(not a server error as implied by HTTP 500) and IMO should be something nominal like HTTP 204 No Content. Is there any way to configure this?There's suggestions online to alternatively fill all the empty tiles with stub data or something, but this seems not ideal and wasteful in terms of added size. I'm open to any other alternatives though.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions