Skip to content

Commit

Permalink
http: Adds debugger on "ClientRequestOverride" instance arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Jun 12, 2020
1 parent 8905709 commit e21f484
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/http/ClientRequest/ClientRequestOverride.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ export function createClientRequestOverrideClass(
this: ClientRequest,
...args: Parameters<typeof http['request']>
) {
debug('created with arguments', args)

const [url, options, callback] = normalizeHttpRequestParams(...args)
const usesHttps = url.protocol === 'https:'
const requestBodyBuffer: any[] = []
Expand Down

0 comments on commit e21f484

Please sign in to comment.