C
Cameron McCormack
Hi.
I want to use HttpURLConnection to send a request that uses a method
that's not defined in RFC 2616 (e.g. WebDAV's PROPFIND).
HttpURLConnection doesn't allow setting the request method to anything
other than that ones in RFC 2616 (except for CONNECT), so I'd like to
know if there is a common workaround for this that people use. I'd
really like to avoid having to write an HTTP client implementation (or
use someone else's) just because the JDK API refuses this.
Thanks,
Cameron
I want to use HttpURLConnection to send a request that uses a method
that's not defined in RFC 2616 (e.g. WebDAV's PROPFIND).
HttpURLConnection doesn't allow setting the request method to anything
other than that ones in RFC 2616 (except for CONNECT), so I'd like to
know if there is a common workaround for this that people use. I'd
really like to avoid having to write an HTTP client implementation (or
use someone else's) just because the JDK API refuses this.
Thanks,
Cameron