mirror of
https://github.com/curl/curl.git
synced 2026-07-26 01:27:15 +03:00
test1625: unit test for Curl_compareheader
Follow-up to 2938cb72e5
Closes #20901
This commit is contained in:
parent
c0f17dee36
commit
ed7bfcd17d
7 changed files with 167 additions and 1 deletions
|
|
@ -1402,6 +1402,8 @@ CURLcode Curl_http_follow(struct Curl_easy *data, const char *newurl,
|
|||
*
|
||||
* Returns TRUE if 'headerline' contains the 'header' with given 'content'
|
||||
* (within a comma-separated list of tokens). Pass 'header' WITH the colon.
|
||||
*
|
||||
* @unittest: 1625
|
||||
*/
|
||||
bool Curl_compareheader(const char *headerline, /* line to check */
|
||||
const char *header, /* header keyword _with_ colon */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue