DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28241>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28241

need a way to customize the http headers sent in a webDAV GET request

           Summary: need a way to customize the http headers sent in a
                    webDAV GET request
           Product: Slide
           Version: 1.0.11
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WebDAV client
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I need a way to customize the http headers sent in a webDAV GET request.
Specifically, in order to use Microsoft Exchange Server's (slightly extended)
webDAV, you have to pass a header of "Translate: f" to get the non-html version
of an email (you get an rfc822 message instead). 

URL for more info: 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_getting_an_items_stream_http.asp

You can do this easily via HttpMethodBase.addRequestHeader(), but I didnt have
access to the GetMethod object in order to call this function. To resolve this,
I added a method to WebdavResource.java to return a new GetMethod, and another
to execute it. Will attach a patch shortly.  If I need to submit this another
way, make changes, or discuss, please contact me. Thanks.

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

Reply via email to