Commits

Anonymous committed 3805df2

+ Amall_http.parse_content_type

  • Participants
  • Parent commits 65a09c5

Comments (0)

Files changed (1)

src/amall_http.ml

      ]
 ;
 
+
+value parse_content_type
+ : string ->
+   [= `Ok of (string * string * list (string * string)) | `Error of string ]
+ = fun str ->
+     Urilex.content_type (Lexing.from_string str)
+;