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

Just an update on handlers.json #3

Closed
DanaMW opened this issue Feb 1, 2018 · 2 comments
Closed

Just an update on handlers.json #3

DanaMW opened this issue Feb 1, 2018 · 2 comments

Comments

@DanaMW
Copy link

DanaMW commented Feb 1, 2018

My original suggestion of deleting handlers.json is or was good but I seemed to have to re-delete every so often so I decided to work up another solution. I loaded handlers.json in notepad++ and used the add-on json formatter to format it readable then i added the mime types to it myself. It always seems that *.exe files went to the browser no matter what i did so I added:
"application/exe": {
"action": 0,
"ask": false,
"extensions": ["exe"]
},
"application/octet-stream": {
"action": 0,
"ask": false,
"extensions": ["exe"]
}
Now it grabs and sends them fine I added like mp3 and mp4 zip pdf and others I download to it too. Working perfectly now.
as for what the action are... and zero is what you would want i believe.
0 = Save To Disk
1 = Always Ask
2 = Use Helper App
3 = Handle Internally
4 = Use System Default

Hope this might help someone else. Oh and here is a listing of the mimetypes if you need them,
MimeTypes.pdf

@slgobinath
Copy link
Member

Thanks for updating me.
I have included this issue in README known issues section (dc2a844)

@Schattenjager-RC
Copy link

I used Firefox extension Content-Type Fixer to solve this problem.
https://addons.mozilla.org/ru/firefox/addon/content-type-fixer/

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