W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 2000

Re: getting the POST data when proxying

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 1 Feb 2000 14:30:35 +0100 (MET)
To: Stan Pinte <stan@cast-info.es>
cc: W3 Jigsaw Mailinglist <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.4.21.0002011426040.16024-100000@tarantula.inria.fr>
On Mon, 31 Jan 2000, Stan Pinte wrote:

> hello,
> I couldn't achive getting the POST data when proxying the HTTP traffic, 
> using the client.getInputStream method. This method seems to block the 
> system. Would anyone know a way how to get that info?

Hum, when you get the stream to read the POST, you are consuming it, so
the body of the POST is not passed to the remote server, then it is
blocked until the request timeouts.

There is an exemple in org.w3c.jigedit.filters.SimpleGrepFilter that
forbid a PUT when some strings are in the body, it may be adapted to your

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Tuesday, 1 February 2000 08:29:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:28 UTC