From: Greg W. <gr...@mo...> - 2005-07-29 07:47:14
|
Anthony Cook wrote: > If I bombard, inundate, overwhelm, or otherwise offend with my > expressive verbiage, then feel free to gloss-over, ignore, trash, or > just "give the finger" to my posts, as you wish. If it is the majority, > or moderator's, wish that I just stop posting all together, then I can > also certainly oblige, and if so then consider this my final adieu... > er, comments. Your posts are welcome, but please consider their style as well as their content etc. You appear to have got on the wrong side of several other posters and while it takes two to tango, your dance card does appear very full. As for the expect 100 discussion, I'm afraid that you simply have not explained your case well enough. You advocate that the container does not handle expectations at all, yet there is NO mechanism for a servlet to send a 100-continue. So unless the container sends that response, you are saying that a servlet container can not work with a client using that expectation? I am simply proposing a way that the container can send the 100 continue response *WHEN* the servlet signals that it wants to continue by reading the input stream. If you don't think that is suitable, then there are 3 other choices: 1) The container always responds with 100 continue for that expectation. Works but a waste of that mechanism. 2) The API is extended to allow a servlet to send 100 continue responses (and then another real response). Many servlets will need to be modified to handle this if clients start using the mechanism. 3) You have to propose an alternate mechanism (other than "do nothing") and explain it well enough that others will agree with you. If Tomcat does nothing with the 100 expectation at all, then I would consider Tomcat broken in that regards and will not follow them. cheers |