We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3741877 commit a6089afCopy full SHA for a6089af
1 file changed
src/parse.bench.ts
@@ -3,12 +3,12 @@ import { parse } from './index';
3
4
describe('parse', () => {
5
bench('basic auth header', () => {
6
- const header = 'Basic dGVzdOnBhc3N3b3Jk'; // "test:password" in base64
+ const header = 'Basic dGVzdDpwYXNzd29yZA=='; // "test:password" in base64
7
parse(header);
8
});
9
10
bench('basic auth header with extra whitespace', () => {
11
- const header = ' Basic dGVzdOnBhc3N3b3Jk '; // "test:password" in base64 with extra whitespace
+ const header = ' Basic dGVzdDpwYXNzd29yZA== '; // "test:password" in base64 with extra whitespace
12
13
14
0 commit comments