]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
<rdar://problem/15090332> CUPS responds to HEAD requests with incorrect content-type...
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 27 Sep 2013 14:08:59 +0000 (14:08 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 27 Sep 2013 14:08:59 +0000 (14:08 +0000)
Don't pass request line as content type.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11307 a1ca3aef-8c08-0410-bb20-df032aa958be

scheduler/client.c

index f07a491d3379185d4a2d97acd43efb5b03d100b6..3d316a6f0e927242a774418b787efd9a600509ef 100644 (file)
@@ -1905,7 +1905,7 @@ cupsdReadClient(cupsd_client_t *con)      /* I - Client to read from */
            }
            else if (!WebInterface)
            {
-              if (!cupsdSendHeader(con, HTTP_OK, line, CUPSD_AUTH_NONE))
+              if (!cupsdSendHeader(con, HTTP_OK, NULL, CUPSD_AUTH_NONE))
              {
                cupsdCloseClient(con);
                return;