HTTP requests for Gophers
README changes by @carlmjohnson in https://github.com/carlmjohnson/requests/pull/84
go.mod: Upgrade x/net past GO-2023-1988 by @carlmjohnson in https://github.com/carlmjohnson/requests/pull/92
Add ability to change default JSON serializer/deserializer and use BodySerializer/ToDeserializer by @carlmjohnson with @EvilBorsch in https://github.com/carlmjohnson/requests/pull/91
Now you can choose globally or on a per request basis how to convert to/from JSON. For example, you can opt in to using the new experimental https://github.com/go-json-experiment/json library planned for a future version of the Go standard library.
Full Changelog: https://github.com/carlmjohnson/requests/compare/v0.23.4...v0.23.5
Added support for setting multiple Params and Headers at once #23
You could just call .Param or .Header multiple times, but sometimes you need to set a parameter conditionally, and this lets you take it out of the main builder chain. See example Params and example Headers.
Restored .Post for those times when you need an empty request body #77
Added support for XML bodies, responses, and errors #78
This was done by @tmm1. To keep tools that don't need it from having to include encoding/xml, it was put into a sub-package called reqxml. Read the docs for reqxml.
CI: Use coverall by @carlmjohnson in https://github.com/carlmjohnson/requests/pull/80
This restores the coverage badge which went away when gocover.io shut down.
Full Changelog: https://github.com/carlmjohnson/requests/compare/v0.23.3...v0.23.4
Bump golang.org/x/net from 0.5.0 to 0.7.0 by @dependabot in https://github.com/carlmjohnson/requests/pull/67
Change examples order (causing more impact) and remove gocover.io badge by @mauricioabreu in https://github.com/carlmjohnson/requests/pull/68
README: Update URL example in https://github.com/carlmjohnson/requests/pull/69
Reorganize; add New, TestServerConfig, DoerTransport by @carlmjohnson in https://github.com/carlmjohnson/requests/pull/72
Full Changelog: https://github.com/carlmjohnson/requests/compare/v0.23.2...v0.23.3