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

Handle transfer encoded requests #9

Open
szepeviktor opened this issue Feb 2, 2023 · 1 comment
Open

Handle transfer encoded requests #9

szepeviktor opened this issue Feb 2, 2023 · 1 comment
Assignees

Comments

@szepeviktor
Copy link
Owner

szepeviktor commented Feb 2, 2023

// FIXME Allow transfer encoded requests
if (! empty($_SERVER['TRANSFER_ENCODING'])) return false;

HTTP/2 disallows all uses of the Transfer-Encoding header other than the HTTP/2 specific: "trailers".

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding

@szepeviktor szepeviktor self-assigned this Feb 2, 2023
@szepeviktor szepeviktor changed the title Handle TRANSFER_ENCODING requests Handle transfer encoded requests Feb 2, 2023
@szepeviktor
Copy link
Owner Author

szepeviktor commented Feb 2, 2023

in rest_40x()

// FIXME
if('/yoast/v1/ryte'===$route) break;

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

No branches or pull requests

1 participant