View definition

(Context).ServeContent

Defined in github.com/labstack/echo/context.go

Description

ServeContent sends static content from `io.Reader` and handles caching via `If-Modified-Since` request header. It automatically sets `Content-Type` and `Last-Modified` response headers.

ServeContent is referenced in 1 repository

github.com/labstack/echo