470,647 Members | 1,248 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,647 developers. It's quick & easy.

Regarding Content-type headers


Dear All,

I have doubt regarding headers in cgi
programming. If I gives "Content-Type:text/plain" then
I try to print html contents. Is right or wrong after
giving content-type: text/plain?

regards
Prabahar


__________________________________________________ ________
How much free photo storage do you get? Store your friends 'n family snaps for FREE with Yahoo! Photos http://in.photos.yahoo.com
Jul 19 '05 #1
1 974
praba kar wrote:
Dear All,

I have doubt regarding headers in cgi
programming. If I gives "Content-Type:text/plain" then
I try to print html contents. Is right or wrong after
giving content-type: text/plain?

regards
Prabahar


It's not wrong, but you won't get the results you want. If you want to
display HTML your should send the content-type: text/html.

regards Ola Natvig
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Serge Hartmann | last post: by
25 posts views Thread by Steal | last post: by
1 post views Thread by Robert Dufour | last post: by
5 posts views Thread by dannynnad | last post: by
1 post views Thread by Korara | last post: by
reply views Thread by warner | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.