Skip to content

Does /dl endpoint requires to be logged in? #12

Answered by moriturus
Geobert asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Geobert, I'm sorry for my late response.

So, /dl API does not need Authorization header. The log message is not helpful to debug for now. This may come from warp's implementation.

Can you download your crate file with a http client like curl?
I'm not familiar with Windows, but a sample command is here:

curl -i YOUR_HOST_OR_IP:PORT/dl/YOUR_CRATE_NAME/VERSION/download

and it seems succeed in downloading if you get below message.

HTTP/1.1 200 OK
content-length: 808
content-type: application/octet-stream
accept-ranges: bytes
last-modified: Tue, 16 Feb 2021 11:23:18 GMT
date: Tue, 16 Feb 2021 20:24:02 GMT

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Geobert
Comment options

Answer selected by Geobert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants