Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some files are not recognized by cliget #52

Open
motatuc opened this issue Nov 28, 2017 · 4 comments
Open

Some files are not recognized by cliget #52

motatuc opened this issue Nov 28, 2017 · 4 comments

Comments

@motatuc
Copy link

motatuc commented Nov 28, 2017

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.

@motatuc motatuc changed the title RAR-files not recognized on streamyourfile.com Some files are not recognized by cliget Nov 30, 2017
@motatuc
Copy link
Author

motatuc commented Dec 11, 2017

@zaidka: Did you already have a chance to take a look at this problem?

@zaidka
Copy link
Owner

zaidka commented Dec 11, 2017

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.

@weberjn
Copy link

weberjn commented Dec 11, 2017

What about just ignoring the header, putting everything from the save dialog into the download list and letting the user decide?

@zaidka
Copy link
Owner

zaidka commented Dec 11, 2017

@weberjn then every single page you visit will show up there. Not ideal I'd say.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants