package
2.9.12+incompatible
Repository: https://github.com/grafana/loki.git
Documentation: pkg.go.dev

# Functions

ClientHTTPStatusAndError returns error and http status that is "safe" to return to client without exposing any implementation details.
NewPrepopulateMiddleware creates a middleware which will parse incoming http forms.
ResponseJSONMiddleware sets the Content-Type header to JSON if it's not set.
WriteError write a go error with the correct status code.

# Constants

No description provided by the author
No description provided by the author
StatusClientClosedRequest is the status code for when a client request cancellation of an http request.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author