Allow stylesheet to be given for sru_z3950 filter MP-510
[metaproxy-moved-to-github.git] / doc / http_client.xml
index 17d2355..30fd3f8 100644 (file)
 
  <refsect1><title>DESCRIPTION</title>
   <para>
-   This module implements HTTP client functionality. By default,
-   if proxy element is not given, it should be used as an explicit
-   proxy (non-transparent mode). If proxy element is set, requests
-   will be relayed to the proxy given (transparent mode for HTTP clients
-   accessing this module).
+   This module implements HTTP client functionality. Filter rontend_net
+   + http_client in combo - acts as a normal, non-transparent, proxy.
+  </para>
+  <para>
+   The element default-host of configuration specifies the default host
+   in remote URL. If this is set, frontend_net + http_client acts as a
+   transparent HTTP proxy as well.
+  </para>
+  <para>
+   The configuration element, proxy, is optional and enables a remote
+   HTTP proxy to be in use.
   </para>
  </refsect1>
 
@@ -44,7 +50,7 @@
    A typical configuration looks like this:
    <screen><![CDATA[
    <filter type="http_client">
-    <proxy>localhost:9999</proxy>
+    <proxy>localhost:3128</proxy>
    </filter>
 ]]>
    </screen>