|
@ -247,7 +247,7 @@ function normalizeArguments(url, opts) { |
|
|
opts.method = opts.method.toUpperCase(); |
|
|
opts.method = opts.method.toUpperCase(); |
|
|
|
|
|
|
|
|
if (opts.hostname === 'unix') { |
|
|
if (opts.hostname === 'unix') { |
|
|
const matches = /(.+)\:(.+)/.exec(opts.path); |
|
|
const matches = /(.+):(.+)/.exec(opts.path); |
|
|
|
|
|
|
|
|
if (matches) { |
|
|
if (matches) { |
|
|
opts.socketPath = matches[1]; |
|
|
opts.socketPath = matches[1]; |
|
|