I try to set "If-None-Match" header with "--header" option, but can not set "If-None-Match" header. There is "If-None-Match" header on aria2c log when I try, but I can not find the "If-None-Match" header on HTTP server. So It seems that aria2c can not set "If-None-Match" header.
I can set "If-None-Match" with the following command-line:
aria2c http://localhost --header "If-None-Match: *"
Request Header:
GET / HTTP/1.1
User-Agent: aria2/1.10.9
Accept: /,application/metalink4+xml,application/metalink+xml
Host: localhost
Pragma: no-cache
Cache-Control: no-cache
If-None-Match: *
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Thank you for your comment. I am using aria2c version 1.8.0. I can see the same log that you show, but I can not get the "If-None-Match" header on server side. Should I use more newer version?
When "If-None-Match" was in the log, it means aria2 sent it.
If you don't mind, could you use latest version of aria2?