[MapProxy] WMS-C as a source

Oliver Tonnhofer olt at omniscale.de
Fri Mar 9 03:28:54 EST 2012


On 08.03.2012, at 19:55, Jean-Claude Repetto wrote:
> On 03/08/12 19:11, Oliver Tonnhofer wrote:
>> 
>> This "no-data" is unfortunately not a standard error code :)
>> But maybe it is a good idea to set the internal response code to 500 in case it did not get an image back?
>> 
> I think the more appropriate error code for the "no-data" case is :
> 204 No Content


Yes, but how do we know that the non-image response means no-data and not a real error? 

Regards,
Oliver

-- 
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt | @oltonn






More information about the MapProxy mailing list