MCPcopy
hub / github.com/mudler/LocalAI / Header

Method Header

core/services/cloudproxy/mitm/response.go:37–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37func (w *connResponseWriter) Header() http.Header { return w.header }
38
39func (w *connResponseWriter) WriteHeader(status int) {
40 if w.wroteHeader {

Callers 15

fakeOpenAIUpstreamFunction · 0.80
fakeAnthropicUpstreamFunction · 0.80
APIFunction · 0.80
ExplorerFunction · 0.80
AdmissionControlFunction · 0.80
UsageMiddlewareFunction · 0.80
correlationIDFromContextFunction · 0.80
WriteHeaderMethod · 0.80
WriteMethod · 0.80
FlushMethod · 0.80

Calls

no outgoing calls

Tested by 15

fakeOpenAIUpstreamFunction · 0.64
fakeAnthropicUpstreamFunction · 0.64
WriteHeaderMethod · 0.64
WriteMethod · 0.64
FlushMethod · 0.64
WriteMethod · 0.64
FlushMethod · 0.64
chatTestServerFunction · 0.64
passthroughHandlerFunction · 0.64
serveMethod · 0.64
serveMethod · 0.64