diff options
author | Johannes Weißl <[email protected]> | 2013-06-22 20:21:45 +0200 |
---|---|---|
committer | Johannes Weißl <[email protected]> | 2013-06-22 20:29:35 +0200 |
commit | c8ef69c8204969b96eb8642ff0e2d057e18c7882 (patch) | |
tree | 03c648009e02d00a8f4363a21644756e550e1e24 /lib/inets/src/http_server/mod_esi.erl | |
parent | 10d93045982fc1477a4dade95d1cc400928fec14 (diff) | |
download | otp-c8ef69c8204969b96eb8642ff0e2d057e18c7882.tar.gz otp-c8ef69c8204969b96eb8642ff0e2d057e18c7882.tar.bz2 otp-c8ef69c8204969b96eb8642ff0e2d057e18c7882.zip |
Fix httpd config option 'erl_script_nocache'
This fixes the usage of the httpd configuration option
'erl_script_nocache', which got ignored before.
Attention: Before, the option 'script_nocache' also changed the
behavior for mod_esi, now it only affects mod_cgi.
Diffstat (limited to 'lib/inets/src/http_server/mod_esi.erl')
-rw-r--r-- | lib/inets/src/http_server/mod_esi.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/src/http_server/mod_esi.erl b/lib/inets/src/http_server/mod_esi.erl index e36c33b282..b11df34f9e 100644 --- a/lib/inets/src/http_server/mod_esi.erl +++ b/lib/inets/src/http_server/mod_esi.erl @@ -440,7 +440,7 @@ receive_headers(Timeout) -> end. send_headers(ModData, StatusCode, HTTPHeaders) -> - ExtraHeaders = httpd_response:cache_headers(ModData), + ExtraHeaders = httpd_response:cache_headers(ModData, erl_script_nocache), httpd_response:send_header(ModData, StatusCode, ExtraHeaders ++ HTTPHeaders). |