Forum Discussion
YuriK
12 years agoKhoros Expert
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
- YuriK12 years agoKhoros ExpertGlad to hear you got it to work!
Related Content
- 3 months ago
- 30 days ago
- 3 months ago
- 3 months ago
- 3 months ago