Lines Matching defs:_http_cmd
370 _http_cmd(conn_t *conn, const char *fmt, ...)
638 r = _http_cmd(conn, "%s: Basic %s", hdr, auth);
881 _http_cmd(conn, "%s %s://%s%s HTTP/1.1",
884 _http_cmd(conn, "%s %s HTTP/1.1",
889 _http_cmd(conn, "Host: %s", host);
917 _http_cmd(conn, "Referer: %s://%s%s",
920 _http_cmd(conn, "Referer: %s", p);
923 _http_cmd(conn, "User-Agent: %s", p);
925 _http_cmd(conn, "User-Agent: %s " _LIBFETCH_VER, getprogname());
927 _http_cmd(conn, "Range: bytes=%lld-", (long long)url->offset);
928 _http_cmd(conn, "Connection: close");
929 _http_cmd(conn, "");