Lines Matching refs:http_code
51 int http_code;
207 if (s->http_code == 401) {
215 if (s->http_code == 407) {
223 if ((s->http_code == 301 || s->http_code == 302 || s->http_code == 303 || s->http_code == 307)
332 static int check_http_code(URLContext *h, int http_code, const char *end)
337 if (http_code >= 400 && http_code < 600 &&
338 (http_code != 401 || s->auth_state.auth_type != HTTP_AUTH_NONE) &&
339 (http_code != 407 || s->proxy_auth_state.auth_type != HTTP_AUTH_NONE)) {
341 av_log(h, AV_LOG_WARNING, "HTTP error %d %s\n", http_code, end);
449 s->http_code = strtol(p, &end, 10);
451 av_log(h, AV_LOG_DEBUG, "http_code=%d\n", s->http_code);
453 if ((ret = check_http_code(h, s->http_code, end)) < 0)
700 s->http_code != 401)
800 * function will check http_code after we return. */
801 s->http_code = 200;
1206 if (s->http_code == 407 &&
1213 if (s->http_code < 400)