Skip to content

Improve errors & valid_response_code #17

@njoubert-cleverage

Description

@njoubert-cleverage

Description

Improve errors handling using valid_response_code.

If 404 is a valid_response_code (or other 4xx) Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface must be allowed.

If 3xx is a valid_response_code (or other 4xx) Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface must be allowed.

Requirements

  • Documentation updates
    • Reference
    • Changelog
  • Unit tests

Breaking changes

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions