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

Fetch: accepting response headers with underscore characters. #859

Merged
merged 4 commits into from
Feb 25, 2025

Conversation

xeioex
Copy link
Contributor

@xeioex xeioex commented Feb 22, 2025

No description provided.

@xeioex xeioex force-pushed the fix_fetch_underscore branch from a660ad6 to 29bd2b8 Compare February 22, 2025 07:29
@xeioex xeioex marked this pull request as ready for review February 22, 2025 07:52
@xeioex xeioex requested a review from hongzhidao February 22, 2025 07:52
Copy link
Contributor

@hongzhidao hongzhidao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@xeioex xeioex force-pushed the fix_fetch_underscore branch from 29bd2b8 to 1dc4dfb Compare February 25, 2025 00:22
Previously, some promise rejections were not reported.

For example:

async function timeout(ms) {
    return new Promise((resolve, reject) => {
        setTimeout(() => {
            reject(new Error('timeout'));
        }, ms);
    });
}

async function handler(r) {
    let v = await timeout(1000);
    r.return(200);
}
@xeioex xeioex force-pushed the fix_fetch_underscore branch from 1dc4dfb to c6f8dd4 Compare February 25, 2025 00:25
@xeioex xeioex merged commit 18977e0 into nginx:master Feb 25, 2025
1 check passed
@xeioex xeioex deleted the fix_fetch_underscore branch February 25, 2025 00:49
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

Successfully merging this pull request may close these issues.

2 participants