mirror of
https://github.com/kataras/iris.git
synced 2026-01-11 05:55:57 +00:00
fix #1829
This commit is contained in:
@@ -4727,10 +4727,6 @@ func (ctx *Context) ServeContentWithRate(content io.ReadSeeker, filename string,
|
||||
}
|
||||
}
|
||||
|
||||
if ctx.GetContentType() == "" {
|
||||
ctx.ContentType(filename)
|
||||
}
|
||||
|
||||
http.ServeContent(ctx.writer, ctx.request, filename, modtime, content)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user