Skip to content

Detail Host header sources #26

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

Merged
merged 2 commits into from
Mar 4, 2015

Conversation

weierophinney
Copy link
Contributor

Per the related PR for fig-standards, this PR
updates the RequestInterface to override the getHeader() method and indicate
that the Host header should be pulled from the composed URI if no value has been
previously set.

Per the [related PR for fig-standards](php-fig/fig-standards#446), this PR
updates the `RequestInterface` to override the `getHeader()` method and indicate
that the Host header should be pulled from the composed URI if no value has been
previously set.
- Made Host header retrieval non-optional
- Added overrides for getHeaders() and getHeaderLines() to ensure they
  always return the Host header as well.
pmjones pushed a commit that referenced this pull request Mar 4, 2015
@pmjones pmjones merged commit 8ad083e into php-fig:master Mar 4, 2015
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.

2 participants