[API-users] language parameter of Species API

Markus Döring mdoering at gbif.org
Thu Aug 21 12:44:45 CEST 2014


Hi Alan,
the original intention is that the GET parameter takes precedence over the http header.

Markus


On 21 Aug 2014, at 12:33, Alan R Williams <alan.r.williams at manchester.ac.uk> wrote:

> Hello Markus,
> 
> Thanks for the great work on the API.
> 
> I think there may be problems because of the two ways of specifying the 
> language.
> 
> Which takes priority if both the HTTP header and the parameter are 
> specified?
> 
> If the HHTP header is not specified, then according to the HTTP spec:
> 
> "A request without any Accept-Language header field implies that the 
> user agent will accept any language in response."
> 
> That doesn't seem consistent with the ability to specify the language as 
> a parameter.
> 
> Alan
> 
> _______________________________________________
> API-users mailing list
> API-users at lists.gbif.org
> http://lists.gbif.org/mailman/listinfo/api-users
> 



More information about the API-users mailing list