Simple HTTP and REST client library for Go
Full Changelog: https://github.com/go-resty/resty/compare/v2.7.0...v2.8.0
SetHeaderMultiValues
for easier adding of multi-value http headers #432 PR #452 @mhdiiilhamRetryConditions
to resty.Request
#315, #324, #433, PR #436 @rohitkg98SetBaseURL
and deprecated SetHostURL
#441 PR #480 @jeevatkmclient.PathParams
and request.PathParams
PR #476 @lavoieslOnError
hook that is called when a Resty request returns an error PR #398 @justenwalkerHeaderAuthorizationKey
in the Client
struct, it can be configured #387 PR #403 @jeevatkmSetPathParam
method in Client
snd Request
for setting single path param #402 PR #403 @jeevatkmhttp.NoBody
when content length is set true
and request body is nil #395 PR #403 @moorereason @jeevatkmNext release candidate 😄
First release candidate for v2.3.0.
Request.Send()
method to execute Request as-is PR #286 @dan-risingdebugBodySizeLimit
to Request debug logger PR #297 @viennaddSetRootCertificateFromString
method to read cert from string PR #313 @dzaytsev91EnableTrace
#285, PR #284 @xixinjiehttp.Request.GetBody
, so request body manipalation can be done via PreRequestHook
(such as adding Content-MD5 entity-header, etc) #242 @jeevatkmSetCookie
and SetCookies
method added into Request
object #257 @jeevatkmapplication/json
#258 @jeevatkm%
#270, PR #270 @kmanley