Lines Matching refs:http
10 * missing or damaged, see the license at "http://www.cups.org/".
37 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
55 http_status_t status; /* HTTP status of request */
63 DEBUG_printf(("cupsGetDevices(http=%p, timeout=%d, include_schemes=\"%s\", exclude_schemes=\"%s\", callback=%p, user_data=%p)", (void *)http, timeout, include_schemes, exclude_schemes, (void *)callback, user_data));
68 if (!http)
69 http = _cupsConnect();
71 if (!http)
107 status = cupsSendRequest(http, request, "/", ippLength(request));
111 status = httpUpdate(http);
115 httpFlush(http);
125 if (!cupsDoAuthentication(http, "POST", "/"))
126 httpReconnect2(http, 30000, NULL);
143 if (!httpReconnect2(http, 30000, NULL))
144 httpEncryption(http, HTTP_ENCRYPTION_REQUIRED);
166 blocking = httpGetBlocking(http);
167 httpBlocking(http, 0);
182 if ((state = ippRead(http, response)) == IPP_STATE_ERROR)
248 httpBlocking(http, blocking);
249 httpFlush(http);
252 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(http->error), 0);