Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP Vesion Implemented by Servlet 2.3

 
vijay saraf
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I want to know the version of http implemented by servlet 2.3( i am thinking so because servlet implemets HttpServlet).even i am not sure that http version depends on servlet version or not.if it depends on servlet container please tell me which version is used by tomcat4 .
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As stated in the spec :

The minimum required version of the HTTP specification that a container must implement is HTTP/1.0.
It is strongly suggested that containers implement the HTTP/1.1 specification as well.


There will be restrictions for containers supporting only HTTP/1.0.
For example :

In containers that support only HTTP/1.0, only the doGet, doHead and doPost methods are supported, as HTTP/1.0 does not define the PUT, DELETE, OPTIONS, and TRACE methods.


Tomcat4 does support HTTP/1.1.
 
vijay saraf
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.

Vijay Saraf
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic