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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
22 + 50 = ?
Subscribe to this entry?

 
 [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-2021 The PHP Group
All rights reserved.
Last updated: Thu Jan 21 19:01:27 2021 UTC