Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setContentType

 
nisha chidella
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it optional to use this ? because it works without it.
In SRV5.2, it's given that servlet programmer are responsible for setting this but http1.1 spec doesnot require this to be set. so, does this mean it's optional ?
 
Harvinder Thakur
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Content Type's default value is "text/html".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic