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)
  2. HttpRequest request(Uri uri, FormData fd, HttpVerb method)

Meta