php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #78487 Add support for HTTP 103 Early Hint
Submitted: 2019-09-03 13:39 UTC Modified: 2019-09-03 14:34 UTC
From: nicolas dot grekas+php at gmail dot com Assigned:
Status: Suspended Package: *General Issues
PHP Version: Next Minor Version OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2019-09-03 13:39 UTC] nicolas dot grekas+php at gmail dot com
Description:
------------
HTTP 103 Early Hint is described in RFC8297 https://tools.ietf.org/html/rfc8297#section-2, see also https://evertpot.com/http/103-early-hints for explanations.

PHP cannot generate such hints, while it would be useful in practice.

Could a function be added to send them?

send_early_hints($headers); or similar


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-09-03 14:34 UTC] requinix@php.net
-Status: Open +Status: Suspended
 [2019-09-03 14:34 UTC] requinix@php.net
The 103 Early Hints RFC is still experimental.

If you'd like built-in support for this then you should bring up the subject on the internals mailing list, given that it goes beyond the bounds of the simple header management tools that PHP currently provides.
https://www.php.net/mailing-lists.php

But this sounds like something that will need web server support first, and some cursory searches don't show that to be the case yet.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Nov 26 15:01:23 2020 UTC