mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-07 16:44:27 +01:00
don't exclude cookies from request headers when importing from curl (#2748)
This commit is contained in:
parent
2b0d55ce6b
commit
adb843faa7
@ -72,12 +72,11 @@ const parseCurlCommand = (curlCommand) => {
|
||||
parsedArguments.header.forEach((header) => {
|
||||
if (header.indexOf('Cookie') !== -1) {
|
||||
cookieString = header;
|
||||
} else {
|
||||
}
|
||||
const components = header.split(/:(.*)/);
|
||||
if (components[1]) {
|
||||
headers[components[0]] = components[1].trim();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user