MCPcopy Create free account
hub / github.com/curl/curl / copy_custom_value

Function copy_custom_value

lib/http.c:202–216  ·  view source on GitHub ↗

* Strip off leading and trailing whitespace from the value in the given HTTP * header line and return a strdup-ed copy in 'valp' - returns an empty * string if the header value consists entirely of whitespace. * * If the header is provided as "name;", ending with a semicolon, it returns a * blank string. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

http_set_aptr_hostFunction · 0.85
http_add_connection_hdFunction · 0.85

Calls 2

header_has_valueFunction · 0.85
curlx_memdup0Function · 0.85

Tested by

no test coverage detected