Browse Source

2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Documented --http-no-cache option in man page.
	* doc/aria2c.1.txt
Tatsuhiro Tsujikawa 15 years ago
parent
commit
643d28fb3c
4 changed files with 51 additions and 1 deletions
  1. 5 0
      ChangeLog
  2. 21 0
      doc/aria2c.1
  3. 17 1
      doc/aria2c.1.html
  4. 8 0
      doc/aria2c.1.txt

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2010-01-10  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Documented --http-no-cache option in man page.
+	* doc/aria2c.1.txt
+
 2010-01-10  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 	Added --http-no-cache option.  When true is given, aria2 sends

+ 21 - 0
doc/aria2c.1

@@ -306,6 +306,16 @@ is set, then authorization header is always sent to the server\&. There is an ex
 \fIfalse\fR
 .RE
 .PP
+\fB\-\-http\-no\-cache\fR[=\fItrue\fR|\fIfalse\fR]
+.RS 4
+Send Cache\-Control: no\-cache and Pragma: no\-cache header to avoid cached content\&. If
+\fIfalse\fR
+is given , these headers are not sent and you can add Cache\-Control header with a directive you like using
+\fB\-\-header\fR
+option\&. Default:
+\fItrue\fR
+.RE
+.PP
 \fB\-\-http\-user\fR=USER
 .RS 4
 Set HTTP user\&. This affects all URLs\&.
@@ -1476,6 +1486,17 @@ http\-auth\-challenge
 .sp -1
 .IP \(bu 2.3
 .\}
+http\-no\-cache
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
 http\-user
 .RE
 .sp

+ 17 - 1
doc/aria2c.1.html

@@ -924,6 +924,17 @@ aria2c -o myfile.zip "http://mirror1/file.zip" "http://mirror2/file.zip"</td>
 </p>
 </dd>
 <dt class="hdlist1">
+<strong>--http-no-cache</strong>[=<em>true</em>|<em>false</em>]
+</dt>
+<dd>
+<p>
+   Send Cache-Control: no-cache and Pragma: no-cache header to avoid
+   cached content.  If <em>false</em> is given , these headers are not sent
+   and you can add Cache-Control header with a directive you like
+   using <strong>--header</strong> option. Default: <em>true</em>
+</p>
+</dd>
+<dt class="hdlist1">
 <strong>--http-user</strong>=USER
 </dt>
 <dd>
@@ -2273,6 +2284,11 @@ http-auth-challenge
 </li>
 <li>
 <p>
+http-no-cache
+</p>
+</li>
+<li>
+<p>
 http-user
 </p>
 </li>
@@ -3546,7 +3562,7 @@ files in the program, then also delete it here.</p></div>
 <div id="footnotes"><hr /></div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2010-01-10 15:53:40 JST
+Last updated 2010-01-10 16:34:37 JST
 </div>
 </div>
 </body>

+ 8 - 0
doc/aria2c.1.txt

@@ -213,6 +213,13 @@ HTTP Specific Options
   embedded in URI, authorization header is always sent to the server
   regardless of this option.  Default: 'false'
 
+*--http-no-cache*[='true'|'false']::
+
+   Send Cache-Control: no-cache and Pragma: no-cache header to avoid
+   cached content.  If 'false' is given , these headers are not sent
+   and you can add Cache-Control header with a directive you like
+   using *--header* option. Default: 'true'
+
 *--http-user*=USER::
   Set HTTP user. This affects all URLs.
 
@@ -966,6 +973,7 @@ of URIs. These optional lines must start with white space(s).
 * split
 * timeout
 * http-auth-challenge
+* http-no-cache
 * http-user
 * http-passwd
 * http-proxy