Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Content Type

 
Drew Lane
Ranch Hand
Posts: 296
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I tell the server that I'm about to send content type of "application/x-www-form-urlencoded", what does the server do in reponse to this as opposed to some other content type?

Where is it specified how the server should react to this?

Thanks,

Drew
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The server does nothing. It's up to the client to do what it can with that content type.
 
Drew Lane
Ranch Hand
Posts: 296
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jeroen Wenting:
The server does nothing. It's up to the client to do what it can with that content type.


If the server does nothing, then why should the client bother to send that information in the first place?

Drew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic