Forums Register Login

HTTP Vesion Implemented by Servlet 2.3

+Pie Number of slices to send: Send
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 .
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
Thanks.

Vijay Saraf
Anything worth doing well is worth doing poorly first. Just look at this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 799 times.
Similar Threads
HttpServletRequest.getReader() returns nothing
Order of elements in the DD- web.xml file
servlet chaining
JSDK 2.1
HFSJ Mock Qn on Front Controller
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 13:55:11.