Skip to content

Fix POST example in HTTP context options#1152

Merged
saundefined merged 1 commit intophp:masterfrom
lacatoire:fix/http-context-post-example
Feb 27, 2026
Merged

Fix POST example in HTTP context options#1152
saundefined merged 1 commit intophp:masterfrom
lacatoire:fix/http-context-post-example

Conversation

@lacatoire
Copy link
Contributor

Fixes #1151 — the first example showed a GET request instead of POST.

The first example was incorrectly showing a GET request with
max_redirects/ignore_errors instead of the actual POST example
with header and content options.

Fixes php#1151
@lacatoire lacatoire requested a review from a team as a code owner February 27, 2026 08:06
@saundefined saundefined added the Статус: Требуется обновление английской версии Требуется обновить оригинал документации в php/doc-en label Feb 27, 2026
Copy link
Member

@saundefined saundefined left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@saundefined saundefined removed the Статус: Требуется обновление английской версии Требуется обновить оригинал документации в php/doc-en label Feb 27, 2026
@saundefined saundefined merged commit 61a907d into php:master Feb 27, 2026
2 checks passed
@lacatoire lacatoire deleted the fix/http-context-post-example branch February 27, 2026 08:35
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 Пример получения страницы и отправки данных методом POST"

2 participants