Skip to content

Web: populate $_SERVER HTTP_* from request headers (#193)#228

Merged
PurHur merged 1 commit into
masterfrom
issue-193-http-server-headers
May 18, 2026
Merged

Web: populate $_SERVER HTTP_* from request headers (#193)#228
PurHur merged 1 commit into
masterfrom
issue-193-http-server-headers

Conversation

@PurHur
Copy link
Copy Markdown
Owner

@PurHur PurHur commented May 18, 2026

Summary

Test plan

  • php vendor/bin/phpunit test/unit/Web/DevServerHeadersTest.php
  • php vendor/bin/phpunit test/real/cases/web_http_headers.phpt
  • Web PHPT cases in php-compiler:22.04-dev Docker image
  • ServeTest::testPopulatesHttpServerHeaders on hosts that allow TCP bind in Docker

Made with Cursor

… image

Map incoming HTTP headers to CGI-style HTTP_* keys in DevServer for VM serve
and AOT CGI env (fixes #193). Add Ubuntu 22.04 dev image, make test-docker,
and harness-friendly docker-ci-local.sh (progress on #202, #73).

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur PurHur merged commit 61859db into master May 18, 2026
@PurHur PurHur deleted the issue-193-http-server-headers branch May 18, 2026 18:52
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.

Web: Populate $_SERVER['HTTP_*'] and REQUEST_URI from incoming headers

1 participant