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.

    @@ -1271,15 +1271,10 @@ attribute must return the response's method must run these steps:
      -
    1. If response's - header list has no - header whose - name is name, then return - null. - -

    2. Return the - combined value given - name and response's +

    3. If response's header list + does not contain name, then return null. + +

    4. Return the combined value given name and response's header list.

    @@ -1318,23 +1313,12 @@ method, when invoked, must run these steps:
    1. Let output be an empty byte sequence. -

    2. Let headers be the result of running - sort and combine - with response's - header list. - -

    3. -

      For each header in headers, run these substeps: - -

        -
      1. Append header's - name, followed by a 0x3A 0x20 byte - pair, followed by header's - value, to output. +

      2. Let headers be the result of running sort and combine with + response's header list. -

      3. If header is not the last pair in headers, then append a 0x0D 0x0A - byte pair, to output. -

      +
    4. 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.

    5. Return output.