Skip to content
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

Add headers_send_early_and_clear() function for HTTP Early Hints #7025

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on May 21, 2021

  1. Add headers_send_early_and_clear() function

    This is intended to be used in conjunction with HTTP Early Hints
    and other 1xx status codes, which require sending multiple sets
    of headers.
    
    Usage:
    
        header('HTTP/1.1 103 Early Hints');
        header('Link: </style.css>; rel=preload; as=style');
        headers_send_early_and_clear();
    
        // Normal code goes here. You can send more headers and body
        // here.
    nikic committed May 21, 2021
    Configuration menu
    Copy the full SHA
    dd65fe9 View commit details
    Browse the repository at this point in the history
  2. Don't include Date in test...

    nikic committed May 21, 2021
    Configuration menu
    Copy the full SHA
    abd62f0 View commit details
    Browse the repository at this point in the history
  3. fix apache build

    nikic committed May 21, 2021
    Configuration menu
    Copy the full SHA
    1d03a76 View commit details
    Browse the repository at this point in the history