|
|
|
|
|
by sergiosgc
4407 days ago
|
|
The problem is not about some God like commandment. It is about the original design of the Web, which we all believe was the reason for its success. When you receive a GET request for an URL, and the browser tells you it accepts text/html, it is expected that you answer with the content stored at that URL in the format requested. It is not expected that you answer with an application that when run will eventually produce the content. The correct way to do what this post is saying is to create a new mime type for this content delivery method. Then, if the browser actively tells you it accepts that content type, deliver it. What the OP proposes is not text/html. It's something else. |
|