jersey/jersey — pull request #45 by martinrleon (2013-11-21 22:33:22+00:00)
Title: Fixed setRequestMethodViaJreBugWorkaround() to work with HTTPS as well as HTTP

Some implementations of HttpsURLconnection use a Delegate to perform the work. This implementation of this method checks for Delegate first. Also, in case there are more layers of superclasses, crawls thru the superclass structure looking for the 'method' field to modify.