Skip to content

Commit 0cb1790

Browse files
committed
fix: pass additional headers to the HTTP client
1 parent 0ebb9ca commit 0cb1790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export async function downloadTool(url: string, fileName?: string, handlers?: if
235235
}
236236

237237
tl.debug('downloading');
238-
let response: httpm.HttpClientResponse = await http.get(url);
238+
let response: httpm.HttpClientResponse = await http.get(url, additionalHeaders);
239239

240240
if (response.message.statusCode != 200) {
241241
let err: Error = new Error('Unexpected HTTP response: ' + response.message.statusCode);

0 commit comments

Comments
 (0)