title: Setting the oauth "Authorization"header in Java - Android
body: <p>I'm trying to set the access token with all of my network calls in my Android app.</p>
  
  <pre>
  HttpURLConnection conn = (HttpURLConnection) url.openConnection();
  conn.setRequestProperty("Content-Type", "application/json");
  conn.setRequestProperty("Authorization", "Token token="
                      + accessToken);
  conn.setRequestMethod("GET");
  </pre>
  
  <p>With this code, however, the header that our server is seeing is "HTTP_AUTHORIZATION" - not "AUTHORIZATION".  After pouring over javadocs, I can't figure out how to not get it to append the "HTTP_".</p>
  
  <p>Thanks!</p>