Home | History | Annotate | Download | only in lib

Lines Matching refs:http

67 #include "http.h"
174 const struct HTTP *http = data->req.protop;
176 if(http->sending == HTTPSEND_REQUEST)
177 /* We're sending the HTTP request headers, not the data.
409 * Curl_readrewind() rewinds the read stream. This is typically used for HTTP
430 struct HTTP *http = data->req.protop;
432 if(http->sendit)
433 mimepart = http->sendit;
496 /* For HTTP/2, we may read up everything including response body
501 be called and we cannot signal the HTTP/2 stream has closed. As
602 /* For HTTP/2, read data without caring about the content
603 length. This is safe because body in HTTP/2 is always
735 /* HTTP-only checks */
769 failf(data, "HTTP server doesn't seem to support "
778 HTTP/1.1 client */
782 /* We're simulating a http 304 from server so we return
785 infof(data, "Simulate a HTTP 304 response!\n");
793 } /* this is HTTP or RTSP */
1068 /* HTTP pollution, this should be written nicer to become more
1071 struct HTTP *http = k->protop;
1074 (http->sending == HTTPSEND_BODY)) {
1076 We have sent off the full HTTP 1.1 request, and we shall now
1088 if(http->sending == HTTPSEND_REQUEST)
1089 /* We're sending the HTTP request headers, not the data.
1393 * conn->proto.http->chunk.datasize != 0 which is true after reading
1611 /* Location: following will not happen when HTTP is disabled */
1699 * We get here when the HTTP code is 300-399 (and 401). We need to perform
1703 * a HTTP (proxy-) authentication scheme other than Basic.
1707 Authorization: XXXX header in the HTTP request code snippet */
1709 Proxy-Authorization: XXXX header in the HTTP request code snippet */
1812 is HTTP as when uploading over HTTP we will still get a response */
1822 /* We got no data, we attempted to re-use a connection. For HTTP this
1833 error can typically only happen on HTTP/2 level if the stream is safe
1850 prevent i.e HTTP transfers to return
1920 struct HTTP *http = data->req.protop;
1921 /* HTTP 1.1 magic:
1932 (http->sending == HTTPSEND_BODY)) {