You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by dovan nguyen <do...@yahoo.com> on 2002/11/13 20:03:11 UTC
How To set the header in WebdavResource.putMethod
Hi all,
could anyone please tell me how to set the content
type header for the putMethod in WebdavResource or
else where ?
Thank you,
Dovan
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: How To set the header in WebdavResource.putMethod
Posted by Martin Holz <ho...@fiz-chemie.de>.
On Wednesday 13 November 2002 20:03, dovan nguyen wrote:
> Hi all,
>
> could anyone please tell me how to set the content
> type header for the putMethod in WebdavResource or
> else where ?
PutMethod extends org/apache/commons/httpclient/HttpMethod.java ,
which has a method setHeader().
Martin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: How To set the header in WebdavResource.putMethod
Posted by Andreas Probst <an...@gmx.net>.
Dovan,
just pass a java.io.File to
WebdavResource.putMethod(java.io.File file). This will do all
the things that have to be done at client side. See
org/apache/webdav/cmd/Slide.java and
org/apache/webdav/cmd/Client.java.
Andreas
On 13 Nov 2002 at 11:03, dovan nguyen wrote:
> Hi all,
>
> could anyone please tell me how to set the content
> type header for the putMethod in WebdavResource or
> else where ?
>
> Thank you,
> Dovan
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>