gbv / paia

Specification of Patrons Account Information API (PAIA)
http://gbv.github.io/paia
15 stars 12 forks source link

Additional response header to indicate PAIA version #53

Closed nichtich closed 7 years ago

nichtich commented 9 years ago

The response header X-PAIA-Version SHOULD be sent with every HTTP response to indicate the version of PAIA specification which the PAIA server was checked against. For instance the following HTTP header will tell a PAIA client that PAIA features introduced after version 1.0.5 (e.g. patron fields type and address, content-negotiation for languages, HTTP OPTIONS and HTTP HEAD) are unlikely supported:

X-PAIA-Version: 1.0.5
nichtich commented 7 years ago

See http://gbv.github.io/daia/daia.html for how this is specified in DAIA

nichtich commented 7 years ago

Specified since pre-release 1.3.2