[Geocoding] [OpenStreetMap] #4304: Nomitatim sends empty response with status 200 ok

OpenStreetMap trac at openstreetmap.org
Fri Mar 16 20:16:14 GMT 2012


#4304: Nomitatim sends empty response with status 200 ok
-----------------------+----------------------------------------------------
 Reporter:  b_b        |       Owner:  geocoding@…                
     Type:  defect     |      Status:  new                        
 Priority:  minor      |   Milestone:                             
Component:  nominatim  |     Version:  1.0                        
 Keywords:             |  
-----------------------+----------------------------------------------------
 Hi, currently Nominatim sends a response status 200 when a json request
 doesn't contains any result. We are encountring a problem with that in
 Mapstraction library, here is the issue page on github :

 https://github.com/mapstraction/mxn/issues/116

 Anyway, it's not so hard to fix it in Mapastraction, but i was wondering
 about it would-it be possible to allow Nominatim to send ann error status
 (204 ?) when the search request doesn't return any result ?

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/4304>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the Geocoding mailing list