Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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.

tyson.lemire added 2 commits June 19, 2024 06:44
- check requestTarget isset instead of null in getter
@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
tyson.lemire added 2 commits July 16, 2024 11:28
@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