Juan Hernandez has uploaded a new change for review. Change subject: restapi: Remove "expect" header from requests (#849442) ......................................................................
restapi: Remove "expect" header from requests (#849442) https://bugzilla.redhat.com/849442 Remove the "expect" header in requests to resolve an issue with some API clients. Change-Id: I9f3585fce0673e5da118d9abd3fd96dd11008d4e Signed-off-by: Juan Hernandez <[email protected]> --- M packaging/fedora/setup/httpd.conf.in 1 file changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/99/7399/1 diff --git a/packaging/fedora/setup/httpd.conf.in b/packaging/fedora/setup/httpd.conf.in index 013d99e..538acaf 100644 --- a/packaging/fedora/setup/httpd.conf.in +++ b/packaging/fedora/setup/httpd.conf.in @@ -4,3 +4,9 @@ # and making sure that the connections will be recovered in a short time # interval (5 seconds at the moment): ProxyPass / ajp://localhost:${basedefs.JBOSS_AJP_PORT}/ retry=5 + +# Remove the Expect headers from API requests (this is needed to fix a +# problem with some API clients): +<IfModule mod_headers.c> + RequestHeader unset Expect early +</IfModule> -- To view, visit http://gerrit.ovirt.org/7399 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9f3585fce0673e5da118d9abd3fd96dd11008d4e Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
