root/cherokee/trunk/doc/bundle_cget.txt

Revision 1891, 1.7 kB (checked in by taher, 3 months ago)

--

Line 
1 == link:index.html[Index] -> link:bundle.html[Cherokee Bundle]
2
3 Cherokee Bundle: cget
4 ---------------------
5
6 This is an accessory tool developed for testing purposes of the
7 capabilities of Cherokee in the early releases. Over the time new
8 functionalities were included and now it can be a really handy
9 tool. You might find it useful for your own scripts, especially for
10 its ability to read and write HTTP headers.
11
12 It can handle both HTTP and HTTPS requests.
13
14 This is the full information provided by the manpage:
15 **********************************************************************
16 *NAME*::
17        `cget` - Cherokee web downloader
18
19 *SYNOPSIS*::
20        `cget` [options] URL
21
22 *DESCRIPTION*::
23        `cget` is a web downloading tool
24
25 *OPTIONS*::
26        No  option is mandatory. By default the web is downloaded but it is not
27        saved.  If that is not  the  desired  behavior  it  must  be  specified
28        explicitly.  Below is a summary of the cget options.
29
30 - *Startup*
31
32        -V, --version;;
33               Display version of currently installed cget and exit.
34
35        -h, --help;;
36               Display help screen with common options.
37
38 - *Logging and input file*
39
40        -q, --quiet;;
41               Run in quiet mode: no output is displayed.
42
43 - *Download*
44
45        -O, --output-document=FILE;;
46               Writes whatever document is downloaded to FILE
47
48 - *HTTP options*
49
50        -s, --save-headers;;
51               This  option  saves HTTP headers to the file being saved (speci‐
52               fied with -O option)
53
54        --header=STRING;;
55               this option inserts STRING among the headers sent  in  the  HTTP
56               request.
57
58 *EXAMPLE*::
59        cget http://www.cherokee-project.com/
60 **********************************************************************
Note: See TracBrowser for help on using the browser.