View definition

func ServeFileBytesUncompressed

Defined in


ServeFileBytesUncompressed returns HTTP response containing file contents from the given path.

Directory contents is returned if path points to directory.

ServeFileBytes may be used for saving network traffic when serving files with good compression ratio.

See also RequestCtx.SendFileBytes.

ServeFileBytesUncompressed is referenced in 0 repositories