We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61ed373 commit 84c2ed7Copy full SHA for 84c2ed7
src/lib/eliom_request.client.ml
@@ -318,9 +318,9 @@ let send ?with_credentials ?(expecting_process_page = false) ?cookies_info
318
Lwt.return (url, Some (result r))
319
else if r.XmlHttpRequest.code = 200
320
|| XmlHttpRequest.(r.code = 0 && r.content <> "")
321
- (* HACK for file access within Cordova which yields code 0 *)
322
- (* Code 0 might mean a network error, but then we have no
323
- content. *)
+ (* HACK for file access within Cordova which yields code 0.
+ Code 0 might mean a network error, but then we have no
+ content. *)
324
then Lwt.return (r.XmlHttpRequest.url, Some (result r))
325
else Lwt.fail (Failed_request r.XmlHttpRequest.code))
326
(function
0 commit comments