W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 1998

Re: swallow the request

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 31 Mar 1998 17:33:07 +0200 (MET DST)
To: "Lv, Qiang" <qianglu@cis.njit.edu>
cc: www-jigsaw@w3.org
Message-ID: <Pine.GSO.3.96.980331173058.22099A-100000@tarantula.inria.fr>
On Tue, 31 Mar 1998, Lv, Qiang wrote:

> Hi everyone,
> 
> I set up jigsaw as a proxy server, and write my filter to process my 
> special requests which are embedded in html document by myself. My 
> another question is:
> 
> Can my filter just accept a request from browser, and not produce a 
> reply? I means my filter wants to swallow this request without any 
> responses. In another word, how can I stop the further processing in the 
> ingoing method of my filter? 

No, you MUST send a reply.
The best choice is to send a 204, meaning that the reply has no content.
(HTTP spec, 10.2.5: 204 No Content).

Otherwise, the browser can't associate the next reply with a request.
Regards,

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \                Architecture Domain - Jigsaw
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Tuesday, 31 March 1998 10:33:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:27 GMT