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 multiple ACRH field lines #7

Closed
jub0bs opened this issue Aug 28, 2024 · 1 comment
Closed

Handle multiple ACRH field lines #7

jub0bs opened this issue Aug 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jub0bs
Copy link
Owner

jub0bs commented Aug 28, 2024

Fetch-compliant browsers send no more than one ACRH field line (see https://fetch.spec.whatwg.org/#cors-preflight-fetch-0, step 5). Accordingly, the library's middleware ignore ACRH field lines beyond the first one (if any).

However, some intermediaries may well (and some reportedly do) split that single ACRH field lines into multiple ACRH field lines. When this happens, preflight may unduly fail.

Therefore, this library should be enhanced so as to handle multiple ACRH field lines.

@jub0bs jub0bs added the enhancement New feature or request label Aug 28, 2024
@jub0bs
Copy link
Owner Author

jub0bs commented Aug 28, 2024

This feature is coming in v0.3.0.

@jub0bs jub0bs changed the title Handle multiple ACRH field lines; tolerate some whitespace and some empty elements in ACRH field lines Handle multiple ACRH field lines Aug 28, 2024
@jub0bs jub0bs closed this as completed in a72eb19 Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant