Sort of... I now have to figure out why it doesn't work :-)
Which method on a XxxMethod returns the request body? I want to make sure that what I 
put in is what I *think* I put in...

Amir

-----Original Message-----
From: Waldhoff, Rodney [mailto:[EMAIL PROTECTED]]
Sent: Wed, April 24, 2002 3:01 PM
To: 'Jakarta Commons Developers List '
Subject: RE: HttpClient Post


> When the HTTP header is built, getName
> is used to figure out which method it 
> is, right?

Right, so that:

class MyPostMethod extends PutMethod {
  public String getName() { return "POST"; }
}

does what you're looking for, I think.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to