Http login authentication to download files

Ali cloud recently used to build a file server, because Baidu Cloud things slow down, as a buffer.

Use CuteHttpFileServer building, very simple, but useful to log in with a username password.

However, the use of chrome download, download both have five cards Dayton, additional download speeds do not increase, about 500K.

Try using tools such as Thunder download, found it impossible to download, online search in a circle, you could not find a can login authentication HTTP file downloader,

So-called Ftp Downloader, declared support Http protocol, also failed to meet the requirements I authenticate and download the file.

Use Firefox and chrome F12 simply looked at network requests with Cookie field, initially suspected Cookie verification required.

Thus with wireshark capture See, it really needs to have Cookie authentication is required at the time of downloading, the download request with attached Http Cookie information.

Cookie:
JWT=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVC********************************bOkZaINXV5X8SalxLYI2I1Xp3bZFBZ1pOw; user=lz**
Use proxyee.down downloader, can be attached to request information, to try, and she succeeded.

 

Guess you like

Origin www.cnblogs.com/lxzbky/p/11617066.html