- From: Eero Häkkinen <notifications@github.com>
- Date: Fri, 09 Dec 2016 15:07:28 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/424/review/12326739@github.com>
eehakkin commented on this pull request. > + + <p>Each part whose `<code>Content-Disposition</code>` header contains + a `<code>filename</code>` parameter must be parsed into an <a>entry</a> + whose value is a {{File}} whose content is the content of the part. The {{File/name}} attribute + of the {{File}} must have the value of the `<code>filename</code>` parameter of the part. + The {{Blob/type}} attribute of the {{File}} must have the value of + the `<code>Content-Type</code>` header of the part if the part has such header or + `<code>text/plain</code>` (the default defined by [[!RFC7578]] section 4.4) otherwise.</p> + + <p>Each part whose `<code>Content-Disposition</code>` header does not contain + a `<code>filename</code>` parameter must be parsed into an <a>entry</a> + whose value is a {{USVString}} whose content is the <a>utf-8</a> decoded content of the part. + This is done regardless of the presence or the value of a `<code>Content-Type</code>` header + and regardless of the presence or the value of a `<code>charset</code>` parameter.</p> + + <p>A part whose `<code>Content-Disposition</code>` header contains a `<code>name</code>` Done. -- 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/424
Received on Friday, 9 December 2016 23:08:01 UTC