src/OAuth/OAuthUtil.php
public static function get_headers() {
    $headers = OAuthUtil::get_headers_internal();
    if ( ! is_array($headers) ) return $headers;
    if ( (! isset($headers['Authorization'])) && isset($headers['X-Oauth1-Authorization']) ) {
        $headers['Authorization'] = $headers['X-Oauth1-Authorization'];
    }
    return $headers;
  }
public static function get_headers() {
    $headers = OAuthUtil::get_headers_internal();
    if ( ! is_array($headers) ) return $headers;
    if ( (! isset($headers['Authorization'])) && isset($headers['X-Oauth1-Authorization']) ) {
        $headers['Authorization'] = $headers['X-Oauth1-Authorization'];
    }
    return $headers;
  }
public static function get_headers ( ) { $ headers = OAuthUtil :: get_headers_internal ( ) ; if ( ! is_array ( $ headers ) ) return $ headers ; if ( ( ! isset ( $ headers [ 'Authorization' ] ) ) && isset ( $ headers [ 'X-Oauth1-Authorization' ] ) ) { $ headers [ 'Authorization' ] = $ headers [ 'X-Oauth1-Authorization' ] ; } return $ headers ; }
header on our behalf - fall back to the alternate Authorization header.
header on our behalf - fall back to the alternate Authorization header .