Menu

#38 add -O analog to parse content-dispostion headers

closed-fixed
2014-01-10
2008-10-21
No

-O option is not enough to make a wget replacement from curl, because it tries to figure out filename from URL. It would be more convenient if curl could parse - content-disposition header to get initial hint about target filename.

Discussion

  • Daniel Stenberg

    Daniel Stenberg - 2008-10-21

    First, curl is not targeted at making a wget replacement so that's not really an argument... (and wget only very recently started to support this header)

    This should be relatively easy to implement by using the header callback function.

     
  • Dan Fandrich

    Dan Fandrich - 2008-10-21

    This is item 11.1 on the TODO list.

     
  • Daniel Stenberg

    Daniel Stenberg - 2010-02-15

    added in 7.20.0

     
  • Daniel Stenberg

    Daniel Stenberg - 2010-02-15
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB