10000 Tags · sothebys/resty · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: sothebys/resty

Tags

v2.3.0

Toggle v2.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
readme update, version bump, mod update (go-resty#344)

v2.3.0-rc.2

Toggle v2.3.0-rc.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request go-resty#340 from go-resty/dev-iteration

Dev iteration

v2.3.0-rc.1

Toggle v2.3.0-rc.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add SetMultipartFormData func to Request (go-resty#337)

v2.2.0

Toggle v2.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request go-resty#314 from go-resty/release-prep-v2.2.0

v2.1.0

Toggle v2.1.0's commit message

Verified

This commit was signed with the committer’s verified signature.
jeevatkm Jeevanandam M.
readme update for release v2.1.0 and godoc update

v2.0.0

Toggle v2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request go-resty#254 from go-resty/v2

For v2 Release

v2.0.0-rc.4

Toggle v2.0.0-rc.4's commit message

Verified

This commit was signed with the committer’s verified signature.
jeevatkm Jeevanandam M.
adding v2 go mod suffix and update dependency version

v2.0.0-rc.3

Toggle v2.0.0-rc.3's commit message
fix multipart/form-data without filename and content type (go-resty#236)

v2.0.0-rc.2

Toggle v2.0.0-rc.2's commit message
change Backoff() algorithm (go-resty#237)

1) Add capabilities to handle Retry-After headers and similar info from
server

Motivation: some servers provide Retry-After header or similar info along with 429
or 503 status code, and it is often important to honor such information
on retries, i.e. simple expotential backoff is not optimal.
https://docs.microsoft.com/en-us/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online

2) Add option NOT to retry even if operation returns an error (but retry
by default, if no retry conditions are set)

Motivation: error are already passed to condition callback in resty, but
Backoff() still retries the request if error is not nil. It implies excessive,
stillborn retries for non-retryble errors from underlying http client
(i.e. with RoundTripper from oauth2).

3) Remove error return value from condition callback

Motivation: this error is neither passed to caller, nor logged in any
way. It is cleaner to have "needRetry == true" than "needRetry == true
|| conditionErr != nil".

4) Does not use floating-point arithmetics for expotential backoff

Motivation: simplification & performance

v2.0.0-rc.1

Toggle v2.0.0-rc.1's commit message

Verified

This commit was signed with the committer’s verified signature.
jeevatkm Jeevanandam M.
readme sample code and go mod update

0