if you use wireshark, you should see that Tomcat already does it
automatically.
if you look at the code StandardWrapperValve.java, it should call
response.acknowledge(), and if the client sent an expect header, tomcat
will write out the 100 continue
Filip
Nathan Ashworth wrote:
What's the simplest way to support Expect: 100-continue requests in a servlet
running on Tomcat 6?
My current solution is to look for the "expect" header, check whether its
value is "100-continue" and if it is, then I get a BufferedReader from the
request [request.getReader()] and dump the contents into a String. I then
parse that String into a parameter Map.
Now, this does work, but it feels like I am doing work that Tomcat should be
handling transparently. Am I missing something here?
Thanks,
Nathan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org