MCPcopy Create free account
hub / github.com/golang/appengine / WriteHeader

Method WriteHeader

internal/api.go:353–359  ·  view source on GitHub ↗
(code int)

Source from the content-addressed store, hash-verified

351}
352
353func (c *aeContext) WriteHeader(code int) {
354 if c.outCode != 0 {
355 logf(c, 3, "WriteHeader called multiple times on request.") // error level
356 return
357 }
358 c.outCode = code
359}
360
361func post(ctx context.Context, body []byte, timeout time.Duration) (b []byte, err error) {
362 apiURL := apiURL(ctx)

Callers 9

WriteMethod · 0.95
runFuncFunction · 0.45
handleFunction · 0.45
handleHTTPMiddlewareFunction · 0.45
TestDelayedLogFlushingFunction · 0.45
TestLogFlushingFunction · 0.45
synthesizeMainFunction · 0.45
copyFileFunction · 0.45

Calls 1

logfFunction · 0.70

Tested by 3

TestDelayedLogFlushingFunction · 0.36
TestLogFlushingFunction · 0.36