Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX - Request headers #84

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

tysonlemire
Copy link

@tysonlemire tysonlemire commented Jun 19, 2024

  1. The Request::getHeader was not returning an array when header values were set without using the Message::setHeaders method.
  2. Allow '0' as valid value for headers
  3. Correct getHeaders to return original header names as per Psr\Http\Message\MessageInterface

Additionally, the Psr7Tests for the Request were failing. Changed getRequestTarget to use isset instead of null.

@tysonlemire tysonlemire changed the title FIX - Request header not reutnring array FIX - Request header not retuning array Jun 19, 2024
@tysonlemire tysonlemire changed the title FIX - Request header not retuning array FIX - Request header not returning array Jun 19, 2024
@tysonlemire tysonlemire changed the title FIX - Request header not returning array FIX - Request header fixes Jul 16, 2024
@tysonlemire tysonlemire changed the title FIX - Request header fixes FIX - Request headers Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant