2.2.2.6 Accept

The Accept request-header field defines the data format that is acceptable for the response.

The format of the Accept header is as follows:

Accept: "application/json" / "application/xml"

 String = *(%x20-7E)
 Accept = String