title: How to set HTTP Header Field on AlamofireXMLRPC request?
body: <p>I'm trying set a HTTP Header field on my request:</p>
  
  <pre><code>    var params = [OdooAuth.db, OdooAuth.uid, OdooAuth.password!,"product.pricelist","search_read", [[]],["fields":["id"]] ] as [Any]
      let request = AlamofireXMLRPC.request(OdooAuth.host2!, methodName: "execute_kw", parameters: params )
      request.request?.addValue("value", forHTTPHeaderField: "HTTP_USER_AGENT")
  </code></pre>
  
  <p>But when I did write this, a error occurs:</p>
  
  <pre><code>Cannot use mutating member on immutable value: 'request' is a get-only property
  </code></pre>
  
  <p>I'm using Swift4 and <a href="https://github.com/kodlian/AlamofireXMLRPC" rel="nofollow noreferrer">this library</a></p>