-
Notifications
You must be signed in to change notification settings - Fork 407
Open
Description
I am using hazel programmaticly with private github repo
I meet issue that proxyPrivateDownload function always returns 404, if Authorization header is not set.
For example, assetRes without Authorization header:
assetRes: Response {
size: 0,
timeout: 0,
[Symbol(Body internals)]: { body: [Gunzip], disturbed: false, error: null },
[Symbol(Response internals)]: {
url: 'https://mytoken@api.github.com/repos/username/myrepo/releases/assets/assetId,
status: 404,
statusText: 'Not Found',
headers: [Headers]
}
}
assetRes with Authorization header:
assetRes: Response {
size: 0,
timeout: 0,
[Symbol(Body internals)]: { body: [PassThrough], disturbed: false, error: null },
[Symbol(Response internals)]: {
url: 'https://mytoken@api.github.com/repos/username/myrepo/releases/assets/assetId',
status: 302,
statusText: 'Found',
headers: [Headers]
}
},
Please, resolve this issue. I can't use hazel because of this problem.
Metadata
Metadata
Assignees
Labels
No labels