node-zoom
Version:
141 lines (126 loc) • 3.94 kB
text/xml
<refentry id="yaz-url">
<refentryinfo>
<productname>YAZ</productname>
<productnumber>&version;</productnumber>
<info><orgname>Index Data</orgname></info>
</refentryinfo>
<refmeta>
<refentrytitle>yaz-url</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="manual">Commands</refmiscinfo>
</refmeta>
<refnamediv>
<refname>yaz-url</refname>
<refpurpose>YAZ URL fetch utility</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>yaz-url</command>
<arg>-H <replaceable>name:value</replaceable></arg>
<arg>-m <replaceable>method</replaceable></arg>
<arg>-O <replaceable>fname</replaceable></arg>
<arg>-p <replaceable>fname</replaceable></arg>
<arg>-R <replaceable>num</replaceable></arg>
<arg>-u <replaceable>user/password</replaceable></arg>
<arg>-v</arg>
<arg>-x <replaceable>proxy</replaceable></arg>
<arg rep="repeat">url</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1><title>DESCRIPTION</title>
<para>
<command>yaz-url</command> is utility to get web content. It is very
limited in functionality compared to programs such as curl, wget.
</para>
<para>
The options must be precede the URL given on the command line to take
effect.
</para>
<para>
Fetched HTTP content is written to stdout, unless option -O is given.
</para>
</refsect1>
<refsect1><title>OPTIONS</title>
<variablelist>
<varlistentry>
<term>-H <replaceable>name:value</replaceable></term>
<listitem><para>
Specifies HTTP header content with name and value. This
option can be given multiple times (for different names,
of course).
</para></listitem>
</varlistentry>
<varlistentry>
<term>-m <replaceable>method</replaceable></term>
<listitem><para>
Specifies the HTTP method to be used for the next URL.
Default is method "GET". However, option -p sets it to "POST".
</para></listitem>
</varlistentry>
<varlistentry>
<term>-O <replaceable>fname</replaceable></term>
<listitem><para>
Sets output filename for HTTP content.
</para></listitem>
</varlistentry>
<varlistentry>
<term>-p <replaceable>fname</replaceable></term>
<listitem><para>
Sets a file to be POSTed in the folloing URL.
</para></listitem>
</varlistentry>
<varlistentry>
<term>-R <replaceable>num</replaceable></term>
<listitem><para>
Sets maximum number of HTTP redirects to be followed.
A value of zero disables follow of HTTP redirects.
</para></listitem>
</varlistentry>
<varlistentry>
<term>-u <replaceable>user/password</replaceable></term>
<listitem><para>
Specifies a user and a password to be uesd in HTTP
basic authentication in the following URL fetch. The user
and password must be separated by a slash (this it is not
possible to specify a user with a slash in it).
</para></listitem>
</varlistentry>
<varlistentry>
<term>-v</term>
<listitem><para>
Makes yaz-url dump each HTTP request/response to stdout.
</para></listitem>
</varlistentry>
<varlistentry>
<term>-x <replaceable>proxy</replaceable></term>
<listitem><para>
Specifies a proxy to be used for URL fetch.
</para></listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1><title>SEE ALSO</title>
<para>
<citerefentry>
<refentrytitle>yaz</refentrytitle>
<manvolnum>7</manvolnum>
</citerefentry>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: nxml
nxml-child-indent: 1
End:
-->