MCPcopy Create free account
hub / github.com/git/git / hdr_nocache

Function hdr_nocache

http-backend.c:115–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115static void hdr_nocache(struct strbuf *hdr)
116{
117 hdr_str(hdr, "Expires", "Fri, 01 Jan 1980 00:00:00 GMT");
118 hdr_str(hdr, "Pragma", "no-cache");
119 hdr_str(hdr, "Cache-Control", "no-cache, max-age=0, must-revalidate");
120}
121
122static void hdr_cache_forever(struct strbuf *hdr)
123{

Callers 9

not_foundFunction · 0.85
forbiddenFunction · 0.85
get_text_fileFunction · 0.85
get_info_refsFunction · 0.85
get_info_packsFunction · 0.85
check_content_typeFunction · 0.85
service_rpcFunction · 0.85
die_webcgiFunction · 0.85
bad_requestFunction · 0.85

Calls 1

hdr_strFunction · 0.85

Tested by

no test coverage detected