1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-11 05:55:57 +00:00
This commit is contained in:
Gerasimos (Makis) Maropoulos
2021-12-31 14:55:20 +02:00
parent 4aa93ae872
commit 611e981f3a
2 changed files with 1 additions and 4 deletions

View File

@@ -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)
}