I am trying to read the authorization header for an HTTP request (because I need to add something to it), but I always get null for the header value. Other headers work fine
Have you tried using URLConnection.addRequestProperty()? This is how I use to add HTTP Request Headers.
URLConnection.addRequestProperty()