diff --git a/xhr.bs b/xhr.bs index ce340e8..5a16fda 100644 --- a/xhr.bs +++ b/xhr.bs @@ -604,8 +604,8 @@ method must run these steps:
Terminate these steps if name is a forbidden header name. -
Combine - name/value in author request headers. +
Combine name/value in + author request headers.
If response's - header list has no - header whose - name is name, then return - null. - -
Return the - combined value given - name and response's +
If response's header list + does not contain name, then return null. + +
Return the combined value given name and response's header list.
Let output be an empty byte sequence. -
Let headers be the result of running - sort and combine - with response's - header list. - -
For each header in headers, run these substeps: - -
Append header's - name, followed by a 0x3A 0x20 byte - pair, followed by header's - value, to output. +
Let headers be the result of running sort and combine with + response's header list. -
If header is not the last pair in headers, then append a 0x0D 0x0A - byte pair, to output. -
For each header in headers, append header's + name, followed by a 0x3A 0x20 byte pair, followed by header's + value, followed by a 0x0D 0x0A byte pair, to output.
Return output.