make_accept_header#
- lsst.verify.squash.make_accept_header(version=None)#
Make the
AcceptHTTP header for versioned SQUASH API requests.Parameters#
- version
str, optional Semantic API version, such as
'1.0'. By default, the API version this client is designed for is used (get_default_api_version).
Returns#
- accept_header
str The
Acceptheader value.
Examples#
>>> make_accept_header() 'application/json; version=1.0'
- version