MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / has_header

Function has_header

libavformat/http.c:1430–1436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1428}
1429
1430static inline int has_header(const char *str, const char *header)
1431{
1432 /* header + 2 to skip over CRLF prefix. (make sure you have one!) */
1433 if (!str)
1434 return 0;
1435 return av_stristart(str, header + 2, NULL) || av_stristr(str, header);
1436}
1437
1438static int http_read_header(URLContext *h)
1439{

Callers 1

http_connectFunction · 0.85

Calls 2

av_stristartFunction · 0.85
av_stristrFunction · 0.85

Tested by

no test coverage detected