Hey gabiudrea,
What browser are you using? Selecting the "View content type" sets the Content-Type header in the response. The browser should display the content in the type specified by the Content-Type header.
I did the following quick test in chrome:
- Put the following code in an endpoint
<html>
<body>
<h1>4 The Content-Type Header Field</h1>
</body>
</html>
2. set content type to text/html (click save) (then click to view endpoint)
- This showed just the header content
3. set content type to text/plain (click save) (then click to view endpoint)
- This showed the full text
Hope this helps,
Yuri