cloudfoundry/java-buildpack — pull request #4 by mrdavidlaing (2013-07-18 22:58:24+00:00)
Title: HTTPS respository url throws: wrong status line: \"\\x15\\x03\\x01\\x00\\x02\\x02\"

If you have an HTTPS respository url (eg, `config/openjdk.yml` -> `repository_root: "https://download.pivotal.io.s3.amazonaws.com/openjdk/lucid/x86_64"), then download_cache throws:

```
"#"
["/Users/mrdavidlaing/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:2564:in `read_status_line'",
"/Users/mrdavidlaing/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:2551:in `read_new'",
"/Users/mrdavidlaing/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:1319:in `block in transport_request'",
"/Users/mrdavidlaing/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:1316:in `catch'",
"/Users/mrdavidlaing/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:1316:in `transport_request'",
"/Users/mrdavidlaing/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:1293:in `request'",
"/Users/mrdavidlaing/Projects/CloudFoundry/.net-buildpack/lib/java_buildpack/util/download_cache.rb:102:in `block in download'",
"/Users/mrdavidlaing/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:745:in `start'",
"/Users/mrdavidlaing/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:557:in `start'",
"/Users/mrdavidlaing/Projects/CloudFoundry/.net-buildpack/lib/java_buildpack/util/download_cache.rb:100:in `download'",
... snip ...
```