CodeExplorer authentication_header example
if ( is_array( $parsed_args['headers'
] ) ) { foreach ( (array) $parsed_args['headers'
] as $header =>
$header_value ) { $headers .=
$header . ': ' .
$header_value . "\r\n";
} } else { $headers .=
$parsed_args['headers'
];
} if ( $proxy->
use_authentication() ) { $headers .=
$proxy->
authentication_header() . "\r\n";
} $headers .= "\r\n";
if ( !
is_null( $parsed_args['body'
] ) ) { $headers .=
$parsed_args['body'
];
} fwrite( $handle,
$headers );
if ( !
$parsed_args['blocking'
] ) {