diff --git a/chr.module b/chr.module
index 51be995..01a8b5b 100644
--- a/chr.module
+++ b/chr.module
@@ -109,7 +109,7 @@ function chr_curl_http_request($url, array $options = array()) {
 
   // Merge the default options.
   $options += array(
-    'headers' => array('User-Agent' => 'Drupal (+http://drupal.org/)'),
+    'headers' => array('User-Agent' => _chr_get_user_agent()),
     'method' => 'GET',
     'data' => NULL,
     'max_redirects' => 3,
@@ -140,7 +140,7 @@ function chr_curl_http_request($url, array $options = array()) {
     $options['headers']['User-Agent'] = drupal_generate_test_ua($test_info['test_run_id']);
   }
   elseif (empty($options['headers']['User-Agent'])) {
-    $options['headers']['User-Agent'] = 'Drupal (+http://drupal.org/)';
+    $options['headers']['User-Agent'] = _chr_get_user_agent();
   }
 
   // Set default configuration.
@@ -690,3 +690,15 @@ function chr_response_codes() {
     505 => 'HTTP Version not supported',
   );
 }
+
+/**
+ * Get user agent for CHR.
+ *
+ * @return
+ *  The user agent to use.
+ */
+function _chr_get_user_agent() {
+  // If the site has a proxy user agent specified, use that. Otherwise use the
+  // normal Drupal user agent.
+  return variable_get('proxy_user_agent', 'Drupal (+http://drupal.org/)');
+}
