heroku/heroku.jar — pull request #29 by ryanbrainard (2012-05-01 21:51:15+00:00)
Title: Allow user agent to be specified by Heroku.jar consumers

This allows the user agent to be specified by Heroku.jar consumers (Issue #22) by using a service loader similar to the connection providers. While this a bit of a hoop to jump through for clients, it keeps the user agent immutable and is still pretty simple to implement (already added it to Jenkins). This also fixes the user agent pattern to match RFC 2616 (http://tools.ietf.org/html/rfc2616#section-14.43), which allows us to specify multiple components in the one header (e.g. heroku-jenkins-plugin/0.1-SNAPSHOT heroku.jar/0.8-SNAPSHOT httpclient).