- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 25 Oct 2022 01:43:35 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1513/review/1154386464@github.com>
@annevk commented on this pull request. > +<a for=/>response</a> can be accessed through <a>filtered response</a>'s +<dfn export id=concept-internal-response for="filtered response">internal response</dfn> (a +<a for=/>response</a> that is neither a <a for=/>network error</a> nor a +<a for=/>filtered response</a>). + +<p>Unless stated otherwise a <a for=/>filtered response</a>'s associated concepts (such as its +<a for=response>body</a>) refer to the associated concepts of its +<a for="filtered response">internal response</a>. (The exceptions to this are listed below as part +of defining the concrete types of <a for=/>filtered responses</a>.) + +<div class=note> + <p>The <a for=/>fetch</a> algorithm by way of <a for=fetch><i>processResponse</i></a> and + equivalent parameters exposes <a for=/>filtered responses</a> to callers to ensure they do not + accidentally leak information. If the information needs to be revealed for legacy reasons, e.g., to + feed image data to a decoder, the associated <a for="filtered response">internal response</a> can + only be used by specification algorithms. ```suggestion be used by specification algorithms. ``` -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1513#pullrequestreview-1154386464 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1513/review/1154386464@github.com>
Received on Tuesday, 25 October 2022 08:43:47 UTC