[whatwg/fetch] Change Response's statusText's default (#836)

The empty string is a better default as the field is optional in HTTP and rather meaningless. This way if you change the status and forget about statusText it won't give the mistaken impression things are OK.

Tests: ...

Fixes #698.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/836

-- Commit Summary --

  * Change Response's statusText's default

-- File Changes --

    M fetch.bs (2)

-- Patch Links --

https://github.com/whatwg/fetch/pull/836.patch
https://github.com/whatwg/fetch/pull/836.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/836

Received on Tuesday, 20 November 2018 10:09:58 UTC