make_accept_header¶
-
lsst.verify.squash.make_accept_header(version=None)[source]¶ Make the
AcceptHTTP header for versioned SQUASH API requests.Parameters: version :
str, optionalSemantic 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 :
strThe
Acceptheader value.Examples
>>> make_accept_header() 'application/json; version=1.0'