Fixed HEAD request related issue

see https://github.com/EiffelWebFramework/EWF/issues/53
This commit is contained in:
2013-04-10 09:27:58 +02:00
parent 5fc34d947a
commit f85dc7f550
4 changed files with 49 additions and 6 deletions

View File

@@ -22,6 +22,20 @@ feature {NONE} -- Initialization
wgi_response: WGI_RESPONSE
feature {WGI_FILTER_RESPONSE} -- Change
update_wgi_response (res: WGI_RESPONSE)
-- Set `wgi_response' with `res'.
do
if wgi_response /= res then
res.set_post_commit_action (wgi_response.post_commit_action)
wgi_response.set_post_commit_action (Void)
else
-- Same response object
end
end
feature {WGI_CONNECTOR, WGI_SERVICE} -- Commit
commit