Re: Allow Servlet to Control "100-continue" response

2011-06-18 Thread Mark Thomas
On 18/06/2011 11:56, Simon Olofsson wrote: > Rehtron, > > On 2011-06-18 7:53, Rehtron wrote: >> I need to use the servlet to control this response and accept/reject the >> request before receiving the request content, Is there anyone could >> give me >> some advice? > > as you noticed it's too l

Re: Allow Servlet to Control "100-continue" response

2011-06-18 Thread Simon Olofsson
Rehtron, On 2011-06-18 7:53, Rehtron wrote: I need to use the servlet to control this response and accept/reject the request before receiving the request content, Is there anyone could give me some advice? as you noticed it's too late when your Servlet is invoked: The request is already ackn

Re: Allow Servlet to Control "100-continue" response

2011-06-18 Thread 国清 mack Lu
Try to use the filter. 2011-06-18 mack Lu 发件人: Rehtron 发送时间: 2011-06-18 13:53:58 收件人: users 抄送: 主题: Allow Servlet to Control "100-continue" response Hi Currently if a client supplies the "Expect: 100-continue" header on a POST or PUT, Tomcat appears to send the response header ("1