temporarily reverting pr #1070

This commit is contained in:
Anoop M D 2023-11-30 01:56:01 +05:30
parent e307c12fc8
commit 6c73362ff2

View File

@ -77,9 +77,10 @@ const prepareRequest = (request, collectionRoot) => {
let contentTypeDefined = false;
let url = request.url;
if (!protocolRegex.test(url)) {
url = `http://${url}`;
}
// Temporarily disabling this as this fails when url has vars Ex: {{baseUrl}}/api
// if (!protocolRegex.test(url)) {
// url = `http://${url}`;
// }
// collection headers
each(get(collectionRoot, 'request.headers', []), (h) => {