The options are:
lwp-request \ -H 'Referer: http://other.url/' \ -H 'Host: somehost' \ http://this.url/
The following options controls what is displayed by the program:
If you specify the text format then the HTML will be formatted as plain latin1 text. If you specify the ps format then it will be formatted as Postscript.
The links format will output all links found in the HTML document. Relative links will be expanded to absolute ones.
The html format will reformat the HTML code and the dump format will just dump the HTML syntax tree.
Note that the "HTML-Tree" distribution needs to be installed for this option to work. In addition the "HTML-Format" distribution needs to be installed for -o text or -o ps to work.
Because this program is implemented using the LWP library, it will only support the protocols that LWP supports.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.