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.
ocaml-ci
1 parent dc07cd9 commit 6dfda4fCopy full SHA for 6dfda4f
web.ml
@@ -247,7 +247,7 @@ module Http (IO : IO_TYPE) (Curl_IO : CURL with type 'a t = 'a IO.t) : HTTP with
247
(* Given a list of strings, check pre-existing entry starting with `~name`; and adds the concatenation of `~name` and `~value` if not. *)
248
let add_if_absent ~name ~value strs =
249
match strs with
250
- | Some strs when List.exists (StringLabels.starts_with ~prefix:(name^":")) strs -> strs
+ | Some strs when List.exists (fun s -> Stre.starts_with s (name^":")) strs -> strs
251
| Some strs -> (String.concat ": " [name; value]) :: strs
252
| None -> [String.concat ": " [name; value]]
253
0 commit comments