Lines 628-634
Link Here
|
628 |
httpSetField(request->http, HTTP_FIELD_CONTENT_LENGTH, length); |
628 |
httpSetField(request->http, HTTP_FIELD_CONTENT_LENGTH, length); |
629 |
httpSetField(request->http, HTTP_FIELD_CONTENT_TYPE, "application/ipp"); |
629 |
httpSetField(request->http, HTTP_FIELD_CONTENT_TYPE, "application/ipp"); |
630 |
#ifdef HAVE_HTTP_AUTHSTRING |
630 |
#ifdef HAVE_HTTP_AUTHSTRING |
631 |
httpSetField(request->http, HTTP_FIELD_AUTHORIZATION, request->http->authstring); |
631 |
httpSetField(request->http, HTTP_FIELD_AUTHORIZATION, httpGetAuthString (request->http)); |
632 |
#endif |
632 |
#endif |
633 |
|
633 |
|
634 |
if (httpPost(request->http, request->resource)) |
634 |
if (httpPost(request->http, request->resource)) |
Lines 967-973
Link Here
|
967 |
|
967 |
|
968 |
httpClearFields(request->http); |
968 |
httpClearFields(request->http); |
969 |
#ifdef HAVE_HTTP_AUTHSTRING |
969 |
#ifdef HAVE_HTTP_AUTHSTRING |
970 |
httpSetField(request->http, HTTP_FIELD_AUTHORIZATION, request->http->authstring); |
970 |
httpSetField(request->http, HTTP_FIELD_AUTHORIZATION, httpGetAuthString (request->http)); |
971 |
#endif |
971 |
#endif |
972 |
|
972 |
|
973 |
if (httpGet(request->http, request->resource)) |
973 |
if (httpGet(request->http, request->resource)) |