Skip to content

Commit

Permalink
update documentation for forward_req_params
Browse files Browse the repository at this point in the history
  • Loading branch information
olt committed May 9, 2012
1 parent 2f32e3c commit 58c7850
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/sources.rst
Expand Up @@ -126,12 +126,14 @@ If MapProxy needs to reproject and the source has multiple ``supported_srs``, th

.. .. note:: For the configuration of SRS for MapProxy see `srs_configuration`_.
``forward-req-params``
``forward_req_params``
^^^^^^^^^^^^^^^^^^^^^^

.. versionadded:: 1.5.0

A list with request parameters that will be forwarded to the source server (if available in the original request). A typical use case of this feature would be to forward the `TIME` parameter when working with a WMS-T server.

Please note that this feature is currently not supported when working with caches: you should configure a :ref:`direct source <direct_source>` instead.
This feature only works with :ref:`uncached sources <direct_source>`.

``supported_format``
^^^^^^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -246,6 +248,7 @@ Full example::
coverage:
polygons: GM.txt
polygons_srs: EPSG:900913
forward_req_params: ['TIME', 'CUSTOM']
req:
url: http://localhost:8080/service?mycustomparam=foo
layers: roads
Expand Down

0 comments on commit 58c7850

Please sign in to comment.