This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
w3m [2009/04/10 07:18] k2patel |
w3m [2020/08/10 02:35] (current) |
||
---|---|---|---|
Line 491: | Line 491: | ||
One w3m-control: header have to contain only one function, but you can include more than one w3m-control: lines in the HTTP header. In addition, you can specify an argument to GOTO function: | One w3m-control: header have to contain only one function, but you can include more than one w3m-control: lines in the HTTP header. In addition, you can specify an argument to GOTO function: | ||
+ | <code text> | ||
Content-Type: text/plain | Content-Type: text/plain | ||
W3m-control: GOTO http://www.yahoo.com/ | W3m-control: GOTO http://www.yahoo.com/ | ||
+ | </code> | ||
This example works exactly the same way to the Location header: | This example works exactly the same way to the Location header: | ||
+ | <code text> | ||
Content-Type: text/plain | Content-Type: text/plain | ||
Location: http://www.yahoo.com/ | Location: http://www.yahoo.com/ | ||
+ | </code> | ||
Note that this header has no effect when the CGI script is invoked through HTTP server. | Note that this header has no effect when the CGI script is invoked through HTTP server. |