- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 27 Nov 2018 02:53:54 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/839/review/178716673@github.com>
annevk commented on this pull request. Also `<li><p>` please. > <dt>"<code>ftp</code>" <dd> - <p>For now, unfortunate as it is, <code>file</code> and <code>ftp</code> <a for=/>URLs</a> are - left as an exercise for the reader. + <p>For now, unfortunate as it is, <code>ftp</code> <a for=/>URLs</a> are mostly left as an + exercise for the reader. + + <ol> + <li>Let <var>body</var> be the result of the user agent obtaining content from + <var>request</var>'s <a for=request>current URL</a> from the network via FTP [[!RFC959]]. [[ ]] ref after the dot. > <dt>"<code>ftp</code>" <dd> - <p>For now, unfortunate as it is, <code>file</code> and <code>ftp</code> <a for=/>URLs</a> are - left as an exercise for the reader. + <p>For now, unfortunate as it is, <code>ftp</code> <a for=/>URLs</a> are mostly left as an + exercise for the reader. + + <ol> + <li>Let <var>body</var> be the result of the user agent obtaining content from + <var>request</var>'s <a for=request>current URL</a> from the network via FTP [[!RFC959]]. + + <li>Let </var>mime</var> be "<code>application/octet-stream</code>". Use backticks as it's a byte sequence, not a string. > <dt>"<code>ftp</code>" <dd> - <p>For now, unfortunate as it is, <code>file</code> and <code>ftp</code> <a for=/>URLs</a> are - left as an exercise for the reader. + <p>For now, unfortunate as it is, <code>ftp</code> <a for=/>URLs</a> are mostly left as an + exercise for the reader. + + <ol> + <li>Let <var>body</var> be the result of the user agent obtaining content from + <var>request</var>'s <a for=request>current URL</a> from the network via FTP [[!RFC959]]. + + <li>Let </var>mime</var> be "<code>application/octet-stream</code>". + + <li>If <var>body</var> is the result of the user agent generating a directory listing page for + the result of FTP's LIST command, then set |mime| to "<code>text/ftp-dir</code>". Same here. -- 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/839#pullrequestreview-178716673
Received on Tuesday, 27 November 2018 10:54:16 UTC