host?: string
headers?: { [ name: string ]: string }
requestType?: string
+ responseType?: string
xForwardedFor?: string
}
}
protected buildCommonRequestOptions (options: InternalCommonCommandOptions) {
- const { url, path, redirects, contentType, accept, range, host, headers, requestType, xForwardedFor } = options
+ const { url, path, redirects, contentType, accept, range, host, headers, requestType, xForwardedFor, responseType } = options
return {
url: url ?? this.server.url,
accept,
headers,
type: requestType,
+ responseType,
xForwardedFor
}
}