Name

http_client — Metaproxy HTTP File Server Module

DESCRIPTION

This module implements HTTP client functionality. Filter rontend_net + http_client in combo - acts as a normal, non-transparent, proxy.

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.

The configuration element, proxy, is optional and enables a remote HTTP proxy to be in use.

SCHEMA

# Metaproxy XML config file schema

namespace mp = "http://indexdata.com/metaproxy"

filter_http_client =
  attribute type { "http_client" },
  attribute id { xsd:NCName }?,
  attribute name { xsd:NCName }?,
  element mp:default-host { xsd:string }?,
  element mp:max-redirects { xsd:integer }?,
  element mp:proxy { xsd:string }?


   

EXAMPLES

A typical configuration looks like this:

   <filter type="http_client">
    <proxy>localhost:3128</proxy>
   </filter>

   

SEE ALSO

metaproxy(1)

COPYRIGHT

Copyright (C) 2005-2013 Index Data