[−][src]Function xmlrpc::http::build_headers
pub fn build_headers(builder: RequestBuilder, body_len: u64) -> RequestBuilder
Appends all HTTP headers required by the XML-RPC specification to the RequestBuilder
.
More specifically, the following headers are set:
User-Agent: Rust xmlrpc
Content-Type: text/xml; charset=utf-8
Content-Length: $body_len