Skip to content

Commit

Permalink
fix: fix parse file of header
Browse files Browse the repository at this point in the history
  • Loading branch information
vicanso committed Jul 2, 2023
1 parent cb70f1e commit 084f383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/curl.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function rewrite(args) {
*/

function parseField(s) {
return s.split(/: (.+)/)
return s.split(/: ?(.+)/)
}

/**
Expand Down

0 comments on commit 084f383

Please sign in to comment.