MCPcopy Index your code
hub / github.com/perkeep/perkeep / RequestEntityTooLargeError

Function RequestEntityTooLargeError

internal/httputil/httputil.go:58–61  ·  view source on GitHub ↗
(rw http.ResponseWriter)

Source from the content-addressed store, hash-verified

56}
57
58func RequestEntityTooLargeError(rw http.ResponseWriter) {
59 rw.WriteHeader(http.StatusRequestEntityTooLarge)
60 fmt.Fprintf(rw, "<h1>Request entity is too large</h1>")
61}
62
63func ServeError(rw http.ResponseWriter, req *http.Request, err error) {
64 rw.WriteHeader(http.StatusInternalServerError)

Callers

nothing calls this directly

Calls 1

WriteHeaderMethod · 0.45

Tested by

no test coverage detected