Why does my browser attempt to download pages from http://clhs.lisp.se instead of viewing them normally?How to get rid of this IE message “Internet Explorer can not display the webpage”?What's wrong with my OS? character encoding problemSome pictures aren't viewable within a browser - instead they want to be downloaded firstHow to show/save the HTML including pictures as currently shown by the webbrowser?What does “File not found” mean on a web page?Google is not opened in browsersAny Browser I use fail to show google maps elementsWhy does internet browser redirect me to some website instead of google search when I enter text with slashes?
A food item only made possible by time-freezing storage?
Safe to use 220V electric clothes dryer when building has been bridged down to 110V?
Why does C++ have 'Undefined Behaviour' and other languages like C# or Java don't?
Could Apollo astronauts see city lights from the moon?
Should the average user with no special access rights be worried about SMS-based 2FA being theoretically interceptable?
Is there a way to hide HTML source code yet keeping it effective?
Co-supervisor comes to the office to help her students, which distracts me
Is the mass of paint relevant in rocket design?
Designing a time thief proof safe
Is there something that can completely prevent the effects of the Hold Person spell?
Strange Sticky Substance on Digital Camera
Subverting the emotional woman and stoic man trope
How can an attacker use robots.txt?
How do pilots align the HUD with their eyeballs?
On the meaning of 'anyways' in "What Exactly Is a Quartz Crystal, Anyways?"
Why does my browser attempt to download pages from http://clhs.lisp.se instead of viewing them normally?
practicality of 30 year fix mortgage at 55 years of age
Carry vs Roll-Down on a zero-coupon IRS
Received a package but didn't order it
Does the Way of Shadow monk's Shadow Step feature count as a magical ability?
What secular civic space would pioneers build for small frontier towns?
Why does (inf + 0j)*1 evaluate to inf + nanj?
Cut a cake into 3 equal portions with only a knife
Late 1970's and 6502 chip facilities for operating systems
Why does my browser attempt to download pages from http://clhs.lisp.se instead of viewing them normally?
How to get rid of this IE message “Internet Explorer can not display the webpage”?What's wrong with my OS? character encoding problemSome pictures aren't viewable within a browser - instead they want to be downloaded firstHow to show/save the HTML including pictures as currently shown by the webbrowser?What does “File not found” mean on a web page?Google is not opened in browsersAny Browser I use fail to show google maps elementsWhy does internet browser redirect me to some website instead of google search when I enter text with slashes?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
This problem started a few weeks ago.
Whenever I navigate to any page at http://clhs.lisp.se
— for example this one: http://clhs.lisp.se/Body/m_w_open.htm
— my browser doesn't display the page normally, but instead attempts to download the page as an HTML file.
This happens in Chrome, Firefox, Brave, Vivaldi and Opera; but not in Internet Explorer or Edge. It used to work fine in all browsers.
Why does it happen, and how can I make it work normally? Using IE or Edge is not an option.
browser html http compatibility
add a comment
|
This problem started a few weeks ago.
Whenever I navigate to any page at http://clhs.lisp.se
— for example this one: http://clhs.lisp.se/Body/m_w_open.htm
— my browser doesn't display the page normally, but instead attempts to download the page as an HTML file.
This happens in Chrome, Firefox, Brave, Vivaldi and Opera; but not in Internet Explorer or Edge. It used to work fine in all browsers.
Why does it happen, and how can I make it work normally? Using IE or Edge is not an option.
browser html http compatibility
add a comment
|
This problem started a few weeks ago.
Whenever I navigate to any page at http://clhs.lisp.se
— for example this one: http://clhs.lisp.se/Body/m_w_open.htm
— my browser doesn't display the page normally, but instead attempts to download the page as an HTML file.
This happens in Chrome, Firefox, Brave, Vivaldi and Opera; but not in Internet Explorer or Edge. It used to work fine in all browsers.
Why does it happen, and how can I make it work normally? Using IE or Edge is not an option.
browser html http compatibility
This problem started a few weeks ago.
Whenever I navigate to any page at http://clhs.lisp.se
— for example this one: http://clhs.lisp.se/Body/m_w_open.htm
— my browser doesn't display the page normally, but instead attempts to download the page as an HTML file.
This happens in Chrome, Firefox, Brave, Vivaldi and Opera; but not in Internet Explorer or Edge. It used to work fine in all browsers.
Why does it happen, and how can I make it work normally? Using IE or Edge is not an option.
browser html http compatibility
browser html http compatibility
edited 6 hours ago
JakeGould
35.3k10 gold badges112 silver badges153 bronze badges
35.3k10 gold badges112 silver badges153 bronze badges
asked 8 hours ago
Sod AlmightySod Almighty
15012 bronze badges
15012 bronze badges
add a comment
|
add a comment
|
3 Answers
3
active
oldest
votes
There is something wrong with the way that website and/or web sever is delivering web pages.
This is not a problem on your end but rather something odd on the server side; with either the website itself or the server delivering web content.
Instead of delivering content with headers that indicate text/html
it is delivering content as application/octet-stream
which a web browser will interpret as being binary data that should then be handled as a file download. Look at the output of this Curl command:
curl -ILk http://clhs.lisp.se/Body/m_w_open.htm
HTTP/1.1 200 OK
Content-Type: application/octet-stream
Accept-Ranges: bytes
Content-Length: 8896
Date: Sat, 21 Sep 2019 18:41:10 GMT
Server: lighttpd/1.4.45
I’m pretty sure you can’t fix that on the client side unless there is some kind of plugin — for Firefox or Chrome for example — that will allow you to force specific headers for a we request like this.
I realise it's probably a problem at the server end. But [a] IE and Edge work fine with it, [b] I don't have control over the server and [c] I need to use the site. So....what can I do about it?
– Sod Almighty
8 hours ago
4
@SodAlmighty - Contact with whoever manages the website and inform them of the problem. There isn't anything you can do. The fact IE and Edge works is a fluke.
– Ramhound
8 hours ago
2
@SodAlmighty The fact that in 2019 Microsoft browsers are somehow allowing binary headers to be displayed as HTML should concern you. While you are upset at being inconvenienced by this on other browsers, the reality is that web site and/or server is damaged in some way. This could all be an honest mistake of it could be a sign of the website itself being hacked and a potential vector for malware. Microsoft products ignoring the most basic of web standards should not be considered a posting in any way.
– JakeGould
7 hours ago
Yes, what you say makes perfect sense. But there really ought to be some way to work around it at the client end. I've tried a couple of Chrome addons, but they don't seem to work as advertised.
– Sod Almighty
7 hours ago
@SodAlmighty, the fact that IE and Edge work fine with it is a symptom of why IE and Edge are so incredibly easy for attackers to break: the browsers try to guess what behavior will provide the best experience for the user, and someone who understands the logic being used can trick the browser into making incorrect decisions.
– Mark
2 mins ago
add a comment
|
You can try ModHeader. After install you visit the root of the site, click on the extension icon, then on the plus sign, response header and type Content-Type
. Happy browsing of that site.
You can use profiles inside the extension, to switch only when needed. If you create a profile without any rules, the icon will show as inactive, that would be the profile for the rest of the internet.
I tested it and it works, but be careful, there is no source code I can see and to modify headers you need full permissions on all pages. You can also enable/disable it from Firefox add-on manager, as needed. More info can be found here.
add a comment
|
This funny website return for your page an answer with the following headers:
HTTP/1.1 200 OK
Content-Type: application/octet-stream
Accept-Ranges: bytes
Content-Length: 8896
Date: Sat, 21 Sep 2019 18:44:55 GMT
Server: lighttpd/1.4.45
The problem here is the
Content-Type
field, described as:
application
some other kind of data, typically either uninterpreted binary data or
information to be processed by a mail-based application. The primary
subtype, "octet-stream", is to be used in the case of uninterpreted
binary data, in which case the simplest recommended action is to offer
to write the information into a file for the user.
A binary file cannot be displayed by the browser.
As the Content-Type value of "application/octet-stream" defines the return
answer as a binary file, a browser that obeys the standard has no other
possible action than to download the file.
IE and Edge were never that good at following the standards, which is why
Microsoft is currently ditching both.
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "3"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1484906%2fwhy-does-my-browser-attempt-to-download-pages-from-http-clhs-lisp-se-instead-o%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
There is something wrong with the way that website and/or web sever is delivering web pages.
This is not a problem on your end but rather something odd on the server side; with either the website itself or the server delivering web content.
Instead of delivering content with headers that indicate text/html
it is delivering content as application/octet-stream
which a web browser will interpret as being binary data that should then be handled as a file download. Look at the output of this Curl command:
curl -ILk http://clhs.lisp.se/Body/m_w_open.htm
HTTP/1.1 200 OK
Content-Type: application/octet-stream
Accept-Ranges: bytes
Content-Length: 8896
Date: Sat, 21 Sep 2019 18:41:10 GMT
Server: lighttpd/1.4.45
I’m pretty sure you can’t fix that on the client side unless there is some kind of plugin — for Firefox or Chrome for example — that will allow you to force specific headers for a we request like this.
I realise it's probably a problem at the server end. But [a] IE and Edge work fine with it, [b] I don't have control over the server and [c] I need to use the site. So....what can I do about it?
– Sod Almighty
8 hours ago
4
@SodAlmighty - Contact with whoever manages the website and inform them of the problem. There isn't anything you can do. The fact IE and Edge works is a fluke.
– Ramhound
8 hours ago
2
@SodAlmighty The fact that in 2019 Microsoft browsers are somehow allowing binary headers to be displayed as HTML should concern you. While you are upset at being inconvenienced by this on other browsers, the reality is that web site and/or server is damaged in some way. This could all be an honest mistake of it could be a sign of the website itself being hacked and a potential vector for malware. Microsoft products ignoring the most basic of web standards should not be considered a posting in any way.
– JakeGould
7 hours ago
Yes, what you say makes perfect sense. But there really ought to be some way to work around it at the client end. I've tried a couple of Chrome addons, but they don't seem to work as advertised.
– Sod Almighty
7 hours ago
@SodAlmighty, the fact that IE and Edge work fine with it is a symptom of why IE and Edge are so incredibly easy for attackers to break: the browsers try to guess what behavior will provide the best experience for the user, and someone who understands the logic being used can trick the browser into making incorrect decisions.
– Mark
2 mins ago
add a comment
|
There is something wrong with the way that website and/or web sever is delivering web pages.
This is not a problem on your end but rather something odd on the server side; with either the website itself or the server delivering web content.
Instead of delivering content with headers that indicate text/html
it is delivering content as application/octet-stream
which a web browser will interpret as being binary data that should then be handled as a file download. Look at the output of this Curl command:
curl -ILk http://clhs.lisp.se/Body/m_w_open.htm
HTTP/1.1 200 OK
Content-Type: application/octet-stream
Accept-Ranges: bytes
Content-Length: 8896
Date: Sat, 21 Sep 2019 18:41:10 GMT
Server: lighttpd/1.4.45
I’m pretty sure you can’t fix that on the client side unless there is some kind of plugin — for Firefox or Chrome for example — that will allow you to force specific headers for a we request like this.
I realise it's probably a problem at the server end. But [a] IE and Edge work fine with it, [b] I don't have control over the server and [c] I need to use the site. So....what can I do about it?
– Sod Almighty
8 hours ago
4
@SodAlmighty - Contact with whoever manages the website and inform them of the problem. There isn't anything you can do. The fact IE and Edge works is a fluke.
– Ramhound
8 hours ago
2
@SodAlmighty The fact that in 2019 Microsoft browsers are somehow allowing binary headers to be displayed as HTML should concern you. While you are upset at being inconvenienced by this on other browsers, the reality is that web site and/or server is damaged in some way. This could all be an honest mistake of it could be a sign of the website itself being hacked and a potential vector for malware. Microsoft products ignoring the most basic of web standards should not be considered a posting in any way.
– JakeGould
7 hours ago
Yes, what you say makes perfect sense. But there really ought to be some way to work around it at the client end. I've tried a couple of Chrome addons, but they don't seem to work as advertised.
– Sod Almighty
7 hours ago
@SodAlmighty, the fact that IE and Edge work fine with it is a symptom of why IE and Edge are so incredibly easy for attackers to break: the browsers try to guess what behavior will provide the best experience for the user, and someone who understands the logic being used can trick the browser into making incorrect decisions.
– Mark
2 mins ago
add a comment
|
There is something wrong with the way that website and/or web sever is delivering web pages.
This is not a problem on your end but rather something odd on the server side; with either the website itself or the server delivering web content.
Instead of delivering content with headers that indicate text/html
it is delivering content as application/octet-stream
which a web browser will interpret as being binary data that should then be handled as a file download. Look at the output of this Curl command:
curl -ILk http://clhs.lisp.se/Body/m_w_open.htm
HTTP/1.1 200 OK
Content-Type: application/octet-stream
Accept-Ranges: bytes
Content-Length: 8896
Date: Sat, 21 Sep 2019 18:41:10 GMT
Server: lighttpd/1.4.45
I’m pretty sure you can’t fix that on the client side unless there is some kind of plugin — for Firefox or Chrome for example — that will allow you to force specific headers for a we request like this.
There is something wrong with the way that website and/or web sever is delivering web pages.
This is not a problem on your end but rather something odd on the server side; with either the website itself or the server delivering web content.
Instead of delivering content with headers that indicate text/html
it is delivering content as application/octet-stream
which a web browser will interpret as being binary data that should then be handled as a file download. Look at the output of this Curl command:
curl -ILk http://clhs.lisp.se/Body/m_w_open.htm
HTTP/1.1 200 OK
Content-Type: application/octet-stream
Accept-Ranges: bytes
Content-Length: 8896
Date: Sat, 21 Sep 2019 18:41:10 GMT
Server: lighttpd/1.4.45
I’m pretty sure you can’t fix that on the client side unless there is some kind of plugin — for Firefox or Chrome for example — that will allow you to force specific headers for a we request like this.
edited 6 hours ago
answered 8 hours ago
JakeGouldJakeGould
35.3k10 gold badges112 silver badges153 bronze badges
35.3k10 gold badges112 silver badges153 bronze badges
I realise it's probably a problem at the server end. But [a] IE and Edge work fine with it, [b] I don't have control over the server and [c] I need to use the site. So....what can I do about it?
– Sod Almighty
8 hours ago
4
@SodAlmighty - Contact with whoever manages the website and inform them of the problem. There isn't anything you can do. The fact IE and Edge works is a fluke.
– Ramhound
8 hours ago
2
@SodAlmighty The fact that in 2019 Microsoft browsers are somehow allowing binary headers to be displayed as HTML should concern you. While you are upset at being inconvenienced by this on other browsers, the reality is that web site and/or server is damaged in some way. This could all be an honest mistake of it could be a sign of the website itself being hacked and a potential vector for malware. Microsoft products ignoring the most basic of web standards should not be considered a posting in any way.
– JakeGould
7 hours ago
Yes, what you say makes perfect sense. But there really ought to be some way to work around it at the client end. I've tried a couple of Chrome addons, but they don't seem to work as advertised.
– Sod Almighty
7 hours ago
@SodAlmighty, the fact that IE and Edge work fine with it is a symptom of why IE and Edge are so incredibly easy for attackers to break: the browsers try to guess what behavior will provide the best experience for the user, and someone who understands the logic being used can trick the browser into making incorrect decisions.
– Mark
2 mins ago
add a comment
|
I realise it's probably a problem at the server end. But [a] IE and Edge work fine with it, [b] I don't have control over the server and [c] I need to use the site. So....what can I do about it?
– Sod Almighty
8 hours ago
4
@SodAlmighty - Contact with whoever manages the website and inform them of the problem. There isn't anything you can do. The fact IE and Edge works is a fluke.
– Ramhound
8 hours ago
2
@SodAlmighty The fact that in 2019 Microsoft browsers are somehow allowing binary headers to be displayed as HTML should concern you. While you are upset at being inconvenienced by this on other browsers, the reality is that web site and/or server is damaged in some way. This could all be an honest mistake of it could be a sign of the website itself being hacked and a potential vector for malware. Microsoft products ignoring the most basic of web standards should not be considered a posting in any way.
– JakeGould
7 hours ago
Yes, what you say makes perfect sense. But there really ought to be some way to work around it at the client end. I've tried a couple of Chrome addons, but they don't seem to work as advertised.
– Sod Almighty
7 hours ago
@SodAlmighty, the fact that IE and Edge work fine with it is a symptom of why IE and Edge are so incredibly easy for attackers to break: the browsers try to guess what behavior will provide the best experience for the user, and someone who understands the logic being used can trick the browser into making incorrect decisions.
– Mark
2 mins ago
I realise it's probably a problem at the server end. But [a] IE and Edge work fine with it, [b] I don't have control over the server and [c] I need to use the site. So....what can I do about it?
– Sod Almighty
8 hours ago
I realise it's probably a problem at the server end. But [a] IE and Edge work fine with it, [b] I don't have control over the server and [c] I need to use the site. So....what can I do about it?
– Sod Almighty
8 hours ago
4
4
@SodAlmighty - Contact with whoever manages the website and inform them of the problem. There isn't anything you can do. The fact IE and Edge works is a fluke.
– Ramhound
8 hours ago
@SodAlmighty - Contact with whoever manages the website and inform them of the problem. There isn't anything you can do. The fact IE and Edge works is a fluke.
– Ramhound
8 hours ago
2
2
@SodAlmighty The fact that in 2019 Microsoft browsers are somehow allowing binary headers to be displayed as HTML should concern you. While you are upset at being inconvenienced by this on other browsers, the reality is that web site and/or server is damaged in some way. This could all be an honest mistake of it could be a sign of the website itself being hacked and a potential vector for malware. Microsoft products ignoring the most basic of web standards should not be considered a posting in any way.
– JakeGould
7 hours ago
@SodAlmighty The fact that in 2019 Microsoft browsers are somehow allowing binary headers to be displayed as HTML should concern you. While you are upset at being inconvenienced by this on other browsers, the reality is that web site and/or server is damaged in some way. This could all be an honest mistake of it could be a sign of the website itself being hacked and a potential vector for malware. Microsoft products ignoring the most basic of web standards should not be considered a posting in any way.
– JakeGould
7 hours ago
Yes, what you say makes perfect sense. But there really ought to be some way to work around it at the client end. I've tried a couple of Chrome addons, but they don't seem to work as advertised.
– Sod Almighty
7 hours ago
Yes, what you say makes perfect sense. But there really ought to be some way to work around it at the client end. I've tried a couple of Chrome addons, but they don't seem to work as advertised.
– Sod Almighty
7 hours ago
@SodAlmighty, the fact that IE and Edge work fine with it is a symptom of why IE and Edge are so incredibly easy for attackers to break: the browsers try to guess what behavior will provide the best experience for the user, and someone who understands the logic being used can trick the browser into making incorrect decisions.
– Mark
2 mins ago
@SodAlmighty, the fact that IE and Edge work fine with it is a symptom of why IE and Edge are so incredibly easy for attackers to break: the browsers try to guess what behavior will provide the best experience for the user, and someone who understands the logic being used can trick the browser into making incorrect decisions.
– Mark
2 mins ago
add a comment
|
You can try ModHeader. After install you visit the root of the site, click on the extension icon, then on the plus sign, response header and type Content-Type
. Happy browsing of that site.
You can use profiles inside the extension, to switch only when needed. If you create a profile without any rules, the icon will show as inactive, that would be the profile for the rest of the internet.
I tested it and it works, but be careful, there is no source code I can see and to modify headers you need full permissions on all pages. You can also enable/disable it from Firefox add-on manager, as needed. More info can be found here.
add a comment
|
You can try ModHeader. After install you visit the root of the site, click on the extension icon, then on the plus sign, response header and type Content-Type
. Happy browsing of that site.
You can use profiles inside the extension, to switch only when needed. If you create a profile without any rules, the icon will show as inactive, that would be the profile for the rest of the internet.
I tested it and it works, but be careful, there is no source code I can see and to modify headers you need full permissions on all pages. You can also enable/disable it from Firefox add-on manager, as needed. More info can be found here.
add a comment
|
You can try ModHeader. After install you visit the root of the site, click on the extension icon, then on the plus sign, response header and type Content-Type
. Happy browsing of that site.
You can use profiles inside the extension, to switch only when needed. If you create a profile without any rules, the icon will show as inactive, that would be the profile for the rest of the internet.
I tested it and it works, but be careful, there is no source code I can see and to modify headers you need full permissions on all pages. You can also enable/disable it from Firefox add-on manager, as needed. More info can be found here.
You can try ModHeader. After install you visit the root of the site, click on the extension icon, then on the plus sign, response header and type Content-Type
. Happy browsing of that site.
You can use profiles inside the extension, to switch only when needed. If you create a profile without any rules, the icon will show as inactive, that would be the profile for the rest of the internet.
I tested it and it works, but be careful, there is no source code I can see and to modify headers you need full permissions on all pages. You can also enable/disable it from Firefox add-on manager, as needed. More info can be found here.
edited 7 hours ago
JakeGould
35.3k10 gold badges112 silver badges153 bronze badges
35.3k10 gold badges112 silver badges153 bronze badges
answered 7 hours ago
Eduardo TrápaniEduardo Trápani
312 bronze badges
312 bronze badges
add a comment
|
add a comment
|
This funny website return for your page an answer with the following headers:
HTTP/1.1 200 OK
Content-Type: application/octet-stream
Accept-Ranges: bytes
Content-Length: 8896
Date: Sat, 21 Sep 2019 18:44:55 GMT
Server: lighttpd/1.4.45
The problem here is the
Content-Type
field, described as:
application
some other kind of data, typically either uninterpreted binary data or
information to be processed by a mail-based application. The primary
subtype, "octet-stream", is to be used in the case of uninterpreted
binary data, in which case the simplest recommended action is to offer
to write the information into a file for the user.
A binary file cannot be displayed by the browser.
As the Content-Type value of "application/octet-stream" defines the return
answer as a binary file, a browser that obeys the standard has no other
possible action than to download the file.
IE and Edge were never that good at following the standards, which is why
Microsoft is currently ditching both.
add a comment
|
This funny website return for your page an answer with the following headers:
HTTP/1.1 200 OK
Content-Type: application/octet-stream
Accept-Ranges: bytes
Content-Length: 8896
Date: Sat, 21 Sep 2019 18:44:55 GMT
Server: lighttpd/1.4.45
The problem here is the
Content-Type
field, described as:
application
some other kind of data, typically either uninterpreted binary data or
information to be processed by a mail-based application. The primary
subtype, "octet-stream", is to be used in the case of uninterpreted
binary data, in which case the simplest recommended action is to offer
to write the information into a file for the user.
A binary file cannot be displayed by the browser.
As the Content-Type value of "application/octet-stream" defines the return
answer as a binary file, a browser that obeys the standard has no other
possible action than to download the file.
IE and Edge were never that good at following the standards, which is why
Microsoft is currently ditching both.
add a comment
|
This funny website return for your page an answer with the following headers:
HTTP/1.1 200 OK
Content-Type: application/octet-stream
Accept-Ranges: bytes
Content-Length: 8896
Date: Sat, 21 Sep 2019 18:44:55 GMT
Server: lighttpd/1.4.45
The problem here is the
Content-Type
field, described as:
application
some other kind of data, typically either uninterpreted binary data or
information to be processed by a mail-based application. The primary
subtype, "octet-stream", is to be used in the case of uninterpreted
binary data, in which case the simplest recommended action is to offer
to write the information into a file for the user.
A binary file cannot be displayed by the browser.
As the Content-Type value of "application/octet-stream" defines the return
answer as a binary file, a browser that obeys the standard has no other
possible action than to download the file.
IE and Edge were never that good at following the standards, which is why
Microsoft is currently ditching both.
This funny website return for your page an answer with the following headers:
HTTP/1.1 200 OK
Content-Type: application/octet-stream
Accept-Ranges: bytes
Content-Length: 8896
Date: Sat, 21 Sep 2019 18:44:55 GMT
Server: lighttpd/1.4.45
The problem here is the
Content-Type
field, described as:
application
some other kind of data, typically either uninterpreted binary data or
information to be processed by a mail-based application. The primary
subtype, "octet-stream", is to be used in the case of uninterpreted
binary data, in which case the simplest recommended action is to offer
to write the information into a file for the user.
A binary file cannot be displayed by the browser.
As the Content-Type value of "application/octet-stream" defines the return
answer as a binary file, a browser that obeys the standard has no other
possible action than to download the file.
IE and Edge were never that good at following the standards, which is why
Microsoft is currently ditching both.
answered 8 hours ago
harrymcharrymc
285k16 gold badges304 silver badges619 bronze badges
285k16 gold badges304 silver badges619 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1484906%2fwhy-does-my-browser-attempt-to-download-pages-from-http-clhs-lisp-se-instead-o%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown