🧱 Chunk is a download manager for slow and unstable servers

No default User-Agent; some servers reject empty user agents #25

Open cuducos.me
Open opened by cuducos.me

Problem

DefaultUserAgent is "" (downloader.go:27) and the User-Agent header is only set when non-empty (downloader.go:137-139). Some servers return 403 for empty user agents, and none can identify chunk in access logs.

Suggested fix

Default the user agent to something like chunk/<version>.

Sign up or Sign in to add to the discussion.