• Post Reply Bookmark Topic Watch Topic
  • New Topic

setContentType  RSS feed

 
Andy Smith
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suppose I use setContentType before sending out amy response
and in between i again use setContentType and change the content Type ...
Will it affect the response in anyways?
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it is totally legal to change your mind to set another content type before sending any response...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!