Lines Matching defs:tag
410 static int parse_icy(HTTPContext *s, const char *tag, const char *p)
412 int len = 4 + strlen(p) + strlen(tag);
425 av_strlcatf(s->icy_metadata_headers, len, "%s: %s\n", tag, p);
434 char *tag, *p, *end;
462 tag = line;
466 if (!av_strcasecmp(tag, "Location")) {
470 } else if (!av_strcasecmp(tag, "Content-Length") && s->filesize == -1) {
472 } else if (!av_strcasecmp(tag, "Content-Range")) {
474 } else if (!av_strcasecmp(tag, "Accept-Ranges") &&
478 } else if (!av_strcasecmp(tag, "Transfer-Encoding") &&
482 } else if (!av_strcasecmp(tag, "WWW-Authenticate")) {
483 ff_http_auth_handle_header(&s->auth_state, tag, p);
484 } else if (!av_strcasecmp(tag, "Authentication-Info")) {
485 ff_http_auth_handle_header(&s->auth_state, tag, p);
486 } else if (!av_strcasecmp(tag, "Proxy-Authenticate")) {
487 ff_http_auth_handle_header(&s->proxy_auth_state, tag, p);
488 } else if (!av_strcasecmp(tag, "Connection")) {
491 } else if (!av_strcasecmp (tag, "Server")) {
497 } else if (!av_strcasecmp (tag, "Content-Type")) {
500 } else if (!av_strcasecmp (tag, "Set-Cookie")) {
514 } else if (!av_strcasecmp (tag, "Icy-MetaInt")) {
516 } else if (!av_strncasecmp(tag, "Icy-", 4)) {
517 if ((ret = parse_icy(s, tag, p)) < 0)
519 } else if (!av_strcasecmp(tag, "Content-Encoding")) {