Releases: ghosind/go-request
Releases · ghosind/go-request
v0.2.1
v0.2.0
go-request
v0.2.0
Breaking Changes
- Skip client's header fields if same key was defined in the request options.
- Do not encoding body value if it is a byte slice or a string.
- Rename
RequestTimeoutNone
toRequestTimeoutNoLimit
. - The
ContentType
value of the request options accept"json"
or empty only.
New Features
- Add custom user agent field in the request options and client config.
- Add HTTP BasicAuth support.
Updates and Fixes
- Ignore the base url field if url is absolute.
- Make content as uncancellable if no timeout limitation.
- Skip nil field in the headers.
- Fix nil pointer error for wrapper functions.
- Add more validation.
- Add more test cases.