Changes between Initial Version and Version 1 of Ticket #23448, comment 13
- Timestamp:
- 2024-01-31T17:08:27+01:00 (23 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23448, comment 13
initial v1 1 The OSM server should be returning a [https://www.railsstatuscodes.com/too_many_requests.html 4 09] [https://github.com/tomhughes/openstreetmap-website/blob/67669171af7e088d19378913cbd37f9cab98ea5b/lib/osm.rb#L363 response]. This is the same as `HttpURLConnection.HTTP_CONFLICT`; we catch those in OsmApi#sendRequest (L823 currently).1 The OSM server should be returning a [https://www.railsstatuscodes.com/too_many_requests.html 429] [https://github.com/tomhughes/openstreetmap-website/blob/67669171af7e088d19378913cbd37f9cab98ea5b/lib/osm.rb#L363 response]. This is the same as `HttpURLConnection.HTTP_CONFLICT`; we catch those in OsmApi#sendRequest (L823 currently). 2 2 3 3 Apparently the data from the failing upload ''should not'' be committed, and I'm trying to check that. But it does appear that the dev api does ''not'' have the limits. Or at least I've been unable to hit them, despite trying. And I'm ''not'' going to try on the production API.


