Skip to content

Commit

Permalink
Fix for issue #131 (#132)
Browse files Browse the repository at this point in the history
* Fix for issue #131

See #131

* Append query string to request path (per NodeJS http.request API docs)
  • Loading branch information
jordanhailey authored Jan 12, 2023
1 parent b32f9ae commit ccb00b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default class CIORequest {
method,
headers,
hostname: url.hostname,
path: url.pathname,
path: `${url.pathname}${url.search}`,
});
let req = request(options, (res) => {
let chunks: Buffer[] = [];
Expand Down

0 comments on commit ccb00b2

Please sign in to comment.