RFE: Support WebDAV in HttpURLConnection
I have an RFE for Java 7.
I've been working on a project that uses CalDAV, which is based on the WebDav standard (RFC2518)... however, it is impossible to use Java for these emerging standards without rewriting the entire HTTP protocol implementation on top on Socket access! This is because HttpURLConnection explicitly enforces that the HTTP METHOD be one of GET, POST, HEAD, OPTIONS, PUT, DELETE or TRACE. However, WebDAV makes heavy use of PROPFIND and REPORT as methods... but they cannot be used.
Please please remove the code that explicitly checks the method set by the user... such a change would be backwards compatible and also grant the user the power to set WebDAV methods, without necessarily having to document this.