Merge pull request #794 from vkv0220/patch-1
Edit error in code snippet ## HTTP-headers
This commit is contained in:
commit
469df8cd2d
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ There are 3 methods for HTTP-headers:
|
|||
.reduce((result, current) => {
|
||||
let [name, value] = current.split(': ');
|
||||
result[name] = value;
|
||||
return acc;
|
||||
return result;
|
||||
}, {});
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue