Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#239 can not set "If-None-Match" header

open
nobody
None
5
2012-09-28
2011-01-29
Anonymous
No

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.

Discussion

  • tujikawa
    tujikawa
    2011-01-29

    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: *

     

  • Anonymous
    2011-01-30

    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?

     
  • tujikawa
    tujikawa
    2011-01-30

    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?