The OpenD Programming Language

HttpClient.request

Creates a request without updating the current url state. If you want to save cookies, either call retainCookies with the response yourself or set request.retainCookies to true on the returned object. But see important implementation shortcomings on retainCookies.

To upload files, you can use the FormData overload.

  1. HttpRequest request(Uri uri, HttpVerb method, ubyte[] bodyData, string contentType)
    class HttpClient
    request
    (,,
    ubyte[] bodyData = null
    ,
    string contentType = null
    )
  2. HttpRequest request(Uri uri, FormData fd, HttpVerb method)

Meta