Skip to content

Commit e892a51

Browse files
add request comment
1 parent 31bcbc2 commit e892a51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libraries/Downloader.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ function getFileDownloadURLRedirect(url: string): Promise<string> {
2727
'accept': '*/*',
2828
'connection': 'keep-alive',
2929
"user-agent": 'mysql-memory-server-js-net/1.0.0',
30+
// Not too sure why, but the request fails without the below header
31+
// For the request to work, this hello header is required
3032
"hello": "hello"
3133
}
3234
}

0 commit comments

Comments
 (0)