Comments (5)
Hello @bezzad,
I think this change introduces a breaking change.
Credentials
doesn't work anymore in the DownloadConfiguration::RequestConfiguration
.
Instead, we now need to use Headers
.
var headers = new WebHeaderCollection();
headers.Add(HttpRequestHeader.Authorization, "Basic " + Convert.ToBase64String(System.Text.Encoding.ASCII.GetBytes("username:password")))
new DownloadConfiguration()
{
ParallelDownload = true, // download parts of file as parallel or not
...,
RequestConfiguration = // config and customize request headers
{
Headers = headers
}
};
from downloader.
@adreeeyan Yes, this issue fixed now and you can test it from version v2.2.3 or later. Thanks for reporting this issue.
Note: At this version, all DownloadFileAsync
methods renamed to DownloadFileTaskAsync
from downloader.
@bezzad Nice! Thank you for the prompt action.
from downloader.
@guillaumejay Please test new version 2.1.0
. I added CookieContainer
and Headers
to RequestConfiguration
class options.
from downloader.
Thanks, it works !
from downloader.
Related Issues (20)
- DownLoad as url HOT 1
- Using in .Net Maui App HOT 1
- Callback error occurred when using version 3.0.4 HOT 7
- The calling thread cannot access this object because another thread owns it HOT 1
- ExceptionHelper.CertificateValidationCallBack() is never called when compiling for android HOT 3
- Chunk displaying no progress yet still downloads. HOT 1
- No error when server responds with 404 HOT 1
- Occasional resume error and inaccurate download progress HOT 2
- Whether the download can be resumed from where the last download was not completed HOT 3
- ipv6 Download error the ssl connection could not be established, see inner exception HOT 2
- RobiniaDocs API Explorer
- how to download stream or api link?
- Large file download blocks other download tasks. HOT 3
- Attempting to download the same file to the local directory with same name doesnt overwrite/replace HOT 2
- Downloader support socks5 proxy HOT 3
- getting error when download completed! HOT 11
- The 67th Line in this file“Downloader/src/Downloader /ChunkDownloader.cs ” is not need HOT 1
- The CancelTaskAsync interface of IDownloadService causes the program to freeze. HOT 1
- Inquiry Regarding Repository Usage for Efficient Download of Small Files in .NET HOT 1
- I need to implement happy eyeballs for IPV4 IPV6 dual stack protocol HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from downloader.