add HTTP MIME type

Have a suggestion for "Everything"? Please post it here.
Post Reply
hble
Posts: 1
Joined: Sat Sep 30, 2017 2:37 am

add HTTP MIME type

Post by hble »

Hello, thanks for developing this great tool!!
When i search with me current search engine in chrome, I can click on a pdf or mp4 result and hope it open in chrome and not download to my pc.
I suggestion add "HTTP MIME type" . Thanks!!
NotNull
Posts: 5517
Joined: Wed May 24, 2017 9:22 pm

Re: add HTTP MIME type

Post by NotNull »

hble wrote: When i search with me current search engine in chrome, I can click on a pdf or mp4 result and hope it open in chrome and not download to my pc.
I suggestion add "HTTP MIME type" . Thanks!!

MIME types are based on file extensions. For which file extension do you want to add a "HTTP MIME type"?


Everything already has some browser integration. You can enable that Menu:Tools >Options > General: Enable URL protocol.
After that, you can use ES:somestring in the address bar to start Everything with somestring as the search query.
More infoon that here: http://www.voidtools.com/support/everyt ... s/#general

Some people here have integrated that even further in different browsers.
Take a look here: viewtopic.php?t=6415 and in the links mentioned in that thread.
void
Developer
Posts: 17159
Joined: Fri Oct 16, 2009 11:31 pm

Re: add HTTP MIME type

Post by void »

Everything uses the Windows "Content Type" as mime type specified in your Windows registry.

To change the mime type for pdf files to application/pdf:
  • In the Registry Editor (Start -> Run -> regedit), navigate to HKEY_CLASSES_ROOT\.pdf
  • Add the following String Value: Content Type
  • Set the value data to: application/pdf
Note: this should be the default data value for pdf files.

To change the mime type for mp4 files to video/mp4:
  • In the Registry Editor (Start -> Run -> regedit), navigate to HKEY_CLASSES_ROOT\.mp4
  • Add the following String Value: Content Type
  • Set the value data to: video/mp4
Note: this should be the default data value for mp4 files.
Note: if the content type is not defined, application/octet-stream is used.

If you want Everything to download files instead of playing them, set the content type to: application/octet-stream
Post Reply