Skip to content

v0.2.0

Compare
Choose a tag to compare
@ghosind ghosind released this 14 Aug 12:15
· 38 commits to main since this release
v0.2.0
0805f2c

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 to RequestTimeoutNoLimit.
  • 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.