ap_find_token — look for a token in a line (usually an HTTP header)
int ap_find_token(pool *p, const char *line, const char *tok)
Looks for tok
in line
. Returns
nonzero if found. The token must exactly match (case blind) and is
delimited by control characters (determined by
iscntrl
), tabs, spaces, or one of these
characters:
()<>@,;\\/[]?={}
This corresponds to the definition of a token in RFC 2068.