From: Christian Dywan Date: Sat, 1 Sep 2012 16:25:44 +0000 (+0200) Subject: Use remove() to remove Soup message header X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e1f2655bc0fbb2cb8b0e82b1862f90c69b5b98f;p=midori Use remove() to remove Soup message header --- diff --git a/midori/main.c b/midori/main.c index f9d87e04..3af3660d 100644 --- a/midori/main.c +++ b/midori/main.c @@ -935,7 +935,7 @@ midori_soup_session_settings_accept_language_cb (SoupSession* session, /* With HTTP, Host is optional. Strip to outsmart some filter proxies */ if (destination && destination->scheme == SOUP_URI_SCHEME_HTTP) - soup_message_headers_replace (msg->request_headers, "Host", NULL); + soup_message_headers_remove (msg->request_headers, "Host"); } }