diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2016-06-14 15:35:00 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2017-05-05 11:01:34 +0200 |
commit | 5960b3fb88c960c4df86f1a8303cc8b8360d9902 (patch) | |
tree | b953422cb82d4e7d2ba0230d974bb121e6dda7eb | |
parent | 7eb2a25a44be505bc1c2d5e4cd81144cfc186826 (diff) |
fixup! Add Prefer: csrf-protection header
-rw-r--r-- | govirt/ovirt-proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/govirt/ovirt-proxy.c b/govirt/ovirt-proxy.c index 3702a0f..460805f 100644 --- a/govirt/ovirt-proxy.c +++ b/govirt/ovirt-proxy.c @@ -910,7 +910,7 @@ static void ovirt_proxy_constructed(GObject *gobject) } /* FIXME: to set or not to set ?? */ ovirt_proxy_add_header(OVIRT_PROXY(gobject), "All-Content", "true"); - ovirt_proxy_add_header(OVIRT_PROXY(gobject), "Prefer", "persistent-auth"); + ovirt_proxy_add_header(OVIRT_PROXY(gobject), "Prefer", "persistent-auth, csrf-protection"); ovirt_proxy_add_header(OVIRT_PROXY(gobject), "Version", "3"); /* Chain up to the parent class */ |