Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2022-09-18 | 617 Bytes | |
v3.0.0 source code.tar.gz | 2022-09-18 | 47.0 kB | |
v3.0.0 source code.zip | 2022-09-18 | 69.8 kB | |
Totals: 3 Items | 117.4 kB | 0 |
Fixed
- Replace multiple slashes at the beginning of a path with a single one to avoid open redirects
- Avoid updating
ResponseWriter.Status()
if the status has already been written whenResponseWriter.WriteHeader()
is called twice
Changed
ResponseWriter
now only implementshttp
interfaces (Flusher
,Hijacker
,CloseNotifier
) if the wrappedhttp.ResponseWriter
does. This is a breaking change to makeResponseWriter
's interface support more accurate
Added
ResponseWriter
now implementsio.ReaderFrom
to more efficiently send responses viaio.Copy