-exception Invalid_HTTP_version of string
-exception Invalid_code of int
-exception Invalid_status of Http_types.status
+(** Common functionalities *)
+
+ (** whether debugging messages are enabled or not, can be changed at runtime
+ *)
+val debug: bool ref
+ (** print a string on stderr only if debugging is enabled *)
+val debug_print: string -> unit