This commit is contained in:
James Brumond 2023-08-18 21:40:21 -07:00
parent 9f2eb608c7
commit 2a8da3e510
Signed by: james
GPG Key ID: E8F2FC44BAA3357A
3 changed files with 3 additions and 1 deletions

1
dist/index.js vendored
View File

@ -3130,6 +3130,7 @@ function parse_www_authenticate(www_authenticate) {
remaining = remaining.slice(close_index + 1);
if (remaining && remaining[0] !== ',') {
console.log({ remaining });
throw new Error('invalid www-authenticate header (expected comma after closing quote)');
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -216,6 +216,7 @@ function parse_www_authenticate(www_authenticate) {
remaining = remaining.slice(close_index + 1);
if (remaining && remaining[0] !== ',') {
console.log({ remaining });
throw new Error('invalid www-authenticate header (expected comma after closing quote)');
}