@travetto/net
Advanced tools
Comparing version 0.5.4 to 0.5.5
@@ -7,3 +7,3 @@ { | ||
"dependencies": { | ||
"@travetto/base": "^0.5.6" | ||
"@travetto/base": "^0.5.7" | ||
}, | ||
@@ -27,4 +27,4 @@ "description": "Network utilities of the travetto framework", | ||
}, | ||
"version": "0.5.4", | ||
"gitHead": "c0290bd31a10415a04474ac8680c71309c0d3307" | ||
"version": "0.5.5", | ||
"gitHead": "0e2d844b91d98952514b216c86639adafc67a683" | ||
} |
@@ -79,3 +79,10 @@ import * as http from 'http'; | ||
} | ||
} else { | ||
const q = Array.from(searchParams.entries()) | ||
.map(([k, v]) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}`) | ||
.join('&'); | ||
opts.path = `${opts.path}?${q}`; | ||
} | ||
return { client, payload, responseHandler, opts, binary: inOpts.binary }; | ||
@@ -82,0 +89,0 @@ } |
8488
144
Updated@travetto/base@^0.5.7