[Ericsson AB]

mod_responsecontrol

MODULE

mod_responsecontrol

MODULE SUMMARY

Controls that the request conditions is fullfilled.

DESCRIPTION

This module controls that the conditions in the requests is fullfilled. For example a request may specify that the answer only is of interest if the content is unchanged since last retrieval. Or if the content is changed the range-request shall be converted to a request for the whole file instead.

If a client sends more then one of the header fields that restricts the servers right to respond, the standard does not specify how this shall be handled. httpd will control each field in the following order and if one of the fields not match the current state the request will be rejected with a proper response.
1.If-modified
2.If-Unmodified
3.If-Match
4.If-Nomatch

EWSAPI MODULE INTERACTION

Uses the following EWSAPI interaction data, if available:

{real_name,{Path,AfterPath}}
as defined in mod_alias(3).

Exports the following EWSAPI interaction data, if possible:

{if_range,send_file}
The conditions for the range request was not fullfilled. The response must not be treated as a range request, instead it must be treated as a ordinary get request.

Uses the following EWSAPI functions:

SEE ALSO

httpd(3), mod_get(3)

AUTHORS

Joakim Grebenö - support@erlang.ericsson.se

inets 4.0
Copyright © 1991-2004 Ericsson AB