cliget
cliget copied to clipboard
Some files are not recognized by cliget
Hello,
Thanks for porting this to FF 57. Really appreciated.
Works good so far except I some files are not recognized, means cliget does not recognize the download even if the firefox-internal download-window shows up.
Two examples but this might happen with other files as well:
Link to check out these two examples:
http://streamyourfile.com/1k2kxepnrlny (links to a rar-file which contains a pdf, no copyright infringement ;))
and:
https://cdn.loc.gov/master/gmd/gmd4/g4701/g4701g/ct009133.tif (tif file, no copyright infringement either)
Thanks for looking into that.
@zaidka: Did you already have a chance to take a look at this problem?
I did. The server is responding with the header "content-type: text/plain" when it is in fact a binary RAR file. cliget ignores html and text responses because those are supposed to be handled by the browser. Not yet sure what can be done about this.
What about just ignoring the header, putting everything from the save dialog into the download list and letting the user decide?
@weberjn then every single page you visit will show up there. Not ideal I'd say.