Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ashutosh00710/github-readme-activity-graph
/ setHttpHeader
Method
setHttpHeader
src/utils.ts:173–176 ·
view source on GitHub ↗
(res: Response, directivesAndAge: string)
Source
from the content-addressed store, hash-verified
171
}
172
173
public setHttpHeader(res: Response, directivesAndAge: string): void {
174
res.setHeader(
'Cache-Control'
, `${directivesAndAge}`);
175
res.set(
'Content-Type'
,
'image/svg+xml'
);
176
}
177
}
Callers
1
getGraph
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected