mirage / ocaml-cohttp

An OCaml library for HTTP clients and servers using Lwt or Async
Other
704 stars 174 forks source link

http: fix compiler warning #1037

Closed talex5 closed 3 months ago

talex5 commented 3 months ago

OCaml 5.2 complains:

Error (warning 53 [misplaced-attribute]): the "deprecated" attribute cannot appear in this context

I'm not sure I understand what the deprecation message is asking the user to do, but I hope it still makes as much sense as before when attached to the function.

The attribute was added in #831.