Releases: ecnepsnai/web
Releases · ecnepsnai/web
v1.11.5
v1.11.4
v1.11.3
v1.11.2
v1.11.1
v1.11.0
This release contains major breaking changes. Your code will need to be updated.
- The
HTTP
handles have been split intoHTTPEasy
andHTTP
.HTTPEasy
offers the same functionality asHTTP
did in previous releases.HTTPEasy
does not expose the response writerHTTP
provides an interface to the raw HTTP request and response writer while still doing authentication and rate limiting
- Added cookies slice in
HTTPResponse
- API handles must return an optional third value, an
*APIResponse
APIResponse
lets you specify headers and cookies on the response
v1.10.0
v1.9.2
v1.9.1
v1.9.0
This release contains breaking changes
- Add support for HTTP range requests with static and HTTP requests when supported
- The reader must be a
io.ReadSeekCloser
- The request must have specified a byte range
- The reader must be a
- Added option to disable HTTP range response, enabled by default
- Add convenience method
GETHEAD
, which registers a HTTP GET and HEAD handle. web.Response
had been renamedweb.HTTPResponse
. A find-and-replace can be used to correct this.- The
MaxRequestsPerSecond
andRequestLogLevel
parameters are now nested in anOptions
object.