Description: | Reflect a request body as a response via the output filter stack. |
---|---|
Status: | Base |
ModuleIdentifier: | reflector_module |
SourceFile: | mod_reflector.c |
Compatibility: | Version 2.3 and later |
This module allows request bodies to be reflected back to the client, in the process passing the request through the output filter stack. A suitably configured chain of filters can be used to transform the request into a response. This module can be used to turn an output filter into an HTTP service.
<Location "/compress"> SetHandler reflector SetOutputFilter DEFLATE </Location>
<Location "/downsample"> SetHandler reflector SetOutputFilter DOWNSAMPLE </Location>
Description: | Reflect an input header to the output headers |
---|---|
Syntax: | ReflectorHeader inputheader [outputheader] |
Context: | server config, virtual host, directory, .htaccess |
Override: | Options |
Status: | Base |
Module: | mod_reflector |
This directive controls the reflection of request headers to the response. The first argument is the name of the request header to copy. If the optional second argument is specified, it will be used as the name of the response header, otherwise the original request header name will be used.
© 2017 The Apache Software Foundation
Licensed under the Apache License, Version 2.0.
https://httpd.apache.org/docs/2.4/en/mod/mod_reflector.html