cups/cups-dont-send-http-options-field.patch

14 lines
496 B
Diff

diff --git a/scheduler/client.c b/scheduler/client.c
index d057602..8960516 100644
--- a/scheduler/client.c
+++ b/scheduler/client.c
@@ -1023,8 +1023,6 @@ cupsdReadClient(cupsd_client_t *con) /* I - Client to read from */
}
httpClearFields(con->http);
- httpSetField(con->http, HTTP_FIELD_ALLOW,
- "GET, HEAD, OPTIONS, POST, PUT");
httpSetField(con->http, HTTP_FIELD_CONTENT_LENGTH, "0");
if (!cupsdSendHeader(con, HTTP_STATUS_OK, NULL, CUPSD_AUTH_NONE))