Blame SOURCES/cups-do-not-advertise-http-methods.patch
|
|
e33d6f |
diff --git a/scheduler/client.c b/scheduler/client.c
|
|
|
e33d6f |
index bf284e6..0382b01 100644
|
|
|
e33d6f |
--- a/scheduler/client.c
|
|
|
e33d6f |
+++ b/scheduler/client.c
|
|
|
e33d6f |
@@ -1011,8 +1011,6 @@ cupsdReadClient(cupsd_client_t *con) /* I - Client to read from */
|
|
|
e33d6f |
}
|
|
|
e33d6f |
|
|
|
e33d6f |
httpClearFields(con->http);
|
|
|
e33d6f |
- httpSetField(con->http, HTTP_FIELD_ALLOW,
|
|
|
e33d6f |
- "GET, HEAD, OPTIONS, POST, PUT");
|
|
|
e33d6f |
httpSetField(con->http, HTTP_FIELD_CONTENT_LENGTH, "0");
|
|
|
e33d6f |
|
|
|
e33d6f |
if (!cupsdSendHeader(con, HTTP_STATUS_OK, NULL, CUPSD_AUTH_NONE))
|