-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
With the recent fix for #470, HTTPie sends:
Accept: application/json, */*
This header is not quite correct. According to RFC 7231 § 5.3.2, it says: “I accept JSON or anything else”. Because there are no explicit quality values (q=) specified for either media range, they are both assumed to be 1, so application/json and */* are equally acceptable.
*/* should be marked with a lower quality value, for example:
Accept: application/json, */*;q=0.5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels