github go-goyave/goyave v3.6.0
Release v3.6.0

latest releases: v5.4.2, v5.4.1, v5.4.0...
3 years ago
  • Set content type to application/json; charset=utf-8 instead of application/json when using response.JSON().
  • Added default behavior for HEAD method: all GET routes can now match the HTTP HEAD method. This fixes 405 Method Not Allowed when requesting an URL with the HEAD method when no route explicitly matches the HEAD method. See the HEAD routing advice for more details.
  • Added request.ToStruct(), which puts the request's data into the given structure.

Don't miss a new goyave release

NewReleases is sending notifications on new releases.