restful
restful copied to clipboard
A powerful RESTful framework for Go.
Go 1.22 has a new feature rich http router that can do quite many things that Gorilla/Mux used to be used for. Most importantly, HTTP method name and path variables....
Client function `CheckRedirect` is used to protect against some forms of Server-side request forgery (SSRF) / Cross-site request forgery (CSRF) attacks. It would be, however, more convenient to have some...
[Certificate Revocation List (CRL)](https://en.wikipedia.org/wiki/Certificate_revocation_list) is a file that contains revoked certs. That is to be downloaded on a regular schedule. That is an old method, superseded by OCSP. [Online Certificate...
At client tracing spans are to be started when the request is to be sent and closed when the response arrived (or whatever way the request is terminated). The current...
Support [CloudEvents](https://github.com/cloudevents/spec) with content-type `application/cloudevents+json`. * Client must be able to send events with CloudEvent content-type. Probably a `PostWithCT()` is needed where `ContentTypeCloudEvent` content-type constant can be supplied. * Server...
Restful logs HTTP requests and responses separately. That is different from most FOSS components, that log those together on a single line. The upside of Restful's behavior is that the...
At the time of writing [JSON v2](https://pkg.go.dev/encoding/json/v2@master) is still experimental. But it is really promising. * It is safer. E.g. throws an error on duplicate fields and case-sensitive by default....