MCPcopy Create free account
hub / github.com/acl-dev/acl / http_util_set_req_refer

Function http_util_set_req_refer

lib_protocol/src/http/http_util.c:136–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136void http_util_set_req_refer(HTTP_UTIL *http_util, const char *refer)
137{
138 if (refer == NULL || *refer == 0)
139 return;
140 http_hdr_entry_replace(&http_util->hdr_req->hdr, "Referer", refer, 1);
141}
142
143void http_util_set_req_cookie(HTTP_UTIL *http_util, const char *name, const char *value)
144{

Callers

nothing calls this directly

Calls 1

http_hdr_entry_replaceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…