- 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
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 UTC