MCPcopy Index your code
hub / github.com/Threadfin/Threadfin / httpStatusError

Function httpStatusError

src/webserver.go:1469–1472  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request, httpStatusCode int)

Source from the content-addressed store, hash-verified

1467}
1468
1469func httpStatusError(w http.ResponseWriter, r *http.Request, httpStatusCode int) {
1470 http.Error(w, fmt.Sprintf("%s [%d]", http.StatusText(httpStatusCode), httpStatusCode), httpStatusCode)
1471 return
1472}
1473
1474func getContentType(filename string) (contentType string) {
1475

Callers 8

bufferingStreamFunction · 0.85
IndexFunction · 0.85
StreamFunction · 0.85
ThreadfinFunction · 0.85
ImagesFunction · 0.85
DataImagesFunction · 0.85
WebFunction · 0.85
APIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected