protected void addAdditionalHeaders ( URLConnection con ) { for ( Map . Entry < String , String > header : getAdditionalHeaders ( ) . entrySet ( ) ) { con . addRequestProperty ( header . getKey ( ) , header . getValue ( ) ) ; } }
Add all headers that have been set with the alwaysSend call .