@@ -44,7 +44,7 @@ class type xmlHttpRequest = object ('self)
4444 method overrideMimeType : js_string t -> unit meth
4545 method send : js_string t opt -> unit meth
4646 method send_blob : #File. blob t -> unit meth
47- method send_document : Dom. element Dom. document -> unit meth
47+ method send_document : Dom. element Dom. document t -> unit meth
4848 method send_formData : Form. formData t -> unit meth
4949 method abort : unit meth
5050 method status : int readonly_prop
@@ -135,9 +135,9 @@ val perform_raw_url :
135135 -> http_frame Lwt .t
136136 (* * [perform_raw_url] makes an asynchronous request to the specified [url] with
137137 specified options. The result is a cancelable thread returning
138- an HTTP frame. By default, if [post_args] and [form_arg] are [None], a GET
138+ an HTTP frame. By default, if [post_args] and [form_arg] are [None], a GET
139139 request is used. If [post_args] or [form_arg] is [Some _] (even [Some []]) then a POST
140- request is made. But if [override_method] is set, the request method is forced,
140+ request is made. But if [override_method] is set, the request method is forced,
141141 no matter the [post_args] or [form_arg] value. For example, with [override_method]
142142 set to [`PUT] and [form_arg] set to [Some _] a PUT request including the form data
143143 will be made. The [check_headers] argument is run as soon as the answer
0 commit comments