Skip to content

v6.0.0

Choose a tag to compare

@gustavofreze gustavofreze released this 22 May 13:01
· 13 commits to main since this release
  • Add stricter validation and dedicated exceptions for base URLs, headers, User-Agent tokens, cookie domain/path, and unsupported response body types.
  • Expand Client\Request with shortcut factories (get, post, put, patch, delete, head), withHeader, and withQueryParameters, and update request resolution accordingly.
  • Enhance HTTP modeling/documentation and add helpers (Method::isSafe/isIdempotent, Code::isInformational/isRedirection/isClientError/isServerError, response reason phrase honoring).