diff options
author | Fredrik Gustafsson <[email protected]> | 2013-08-22 15:36:01 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-08-22 15:36:01 +0200 |
commit | 424021bb4253cbf0f864b97666497b82b5da66c1 (patch) | |
tree | fe50212e5b75ab481c90e3b3d997169a3d823c29 /lib/inets/src/http_server/mod_cgi.erl | |
parent | 85cbdc050b60b0d6cebcde4bb9fa9a2499f770a7 (diff) | |
parent | 6450814d8a9d55962dcb830a01faababd70a6ebd (diff) | |
download | otp-424021bb4253cbf0f864b97666497b82b5da66c1.tar.gz otp-424021bb4253cbf0f864b97666497b82b5da66c1.tar.bz2 otp-424021bb4253cbf0f864b97666497b82b5da66c1.zip |
Merge branch 'jw/fix-httpd-erl-script-nocache/OTP-11260' into maint
* jw/fix-httpd-erl-script-nocache/OTP-11260:
inets: added simple testcase for option erl_script_nocache
Fix httpd config option 'erl_script_nocache'
Diffstat (limited to 'lib/inets/src/http_server/mod_cgi.erl')
-rw-r--r-- | lib/inets/src/http_server/mod_cgi.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/src/http_server/mod_cgi.erl b/lib/inets/src/http_server/mod_cgi.erl index c854166c29..f1b73810e6 100644 --- a/lib/inets/src/http_server/mod_cgi.erl +++ b/lib/inets/src/http_server/mod_cgi.erl @@ -295,7 +295,7 @@ receive_headers(Port, Module, Function, Args, Timeout) -> end. send_headers(ModData, {StatusCode, _}, HTTPHeaders) -> - ExtraHeaders = httpd_response:cache_headers(ModData), + ExtraHeaders = httpd_response:cache_headers(ModData, script_nocache), httpd_response:send_header(ModData, StatusCode, ExtraHeaders ++ HTTPHeaders). |