Closed Bug 1217933 Opened 9 years ago Closed 8 years ago

fetch() should possibly not send any Accept header

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bkelly, Unassigned)

Details

fetch() currently sends: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 The spec says we should not send any Accept header, although we think */* makes more sense: https://github.com/whatwg/fetch/issues/142
I made the change to */* in P2 of bug 1217501. Lets leave this open as a possible bug to remove the Accept header depending on how the spec discussion sorts out.
Assignee: bkelly → nobody
Status: ASSIGNED → NEW
Summary: fetch() sends incorrect Accept header → fetch() should possibly not send any Accept header
The standard was changed.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.