Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

[Bug] ServerResponseException: array_keys($responseHeader, 'Retry-After') always return empty. #19

Closed
@quyle92

Description

@quyle92

Hi,
I noticed that there is a bug at ServerResponseException.php on line 28: array_keys($responseHeader, 'Retry-After') will always return [] even if Retry-After header is present.
Proposed solution: It should be array_key_exists('Retry-After', $responseHeader) so that it can return true when Retry-After header is present.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions