Skip to content

v1.9.0

Choose a tag to compare

@ecnepsnai ecnepsnai released this 21 Apr 05:16
· 34 commits to main since this release
v1.9.0
8d8f012

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
  • 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 renamed web.HTTPResponse. A find-and-replace can be used to correct this.
  • The MaxRequestsPerSecond and RequestLogLevel parameters are now nested in an Options object.