Private.BoundarySourceCreates a boundary from the value of the "boundary" parameter in a Content-type header (RFC2046, p.19)
val generate_non_conflicting_boundary :
?prologue:Bigstring_shared.t ->
parts:String_monoid.t list ->
?epilogue:Bigstring_shared.t ->
Generator.t ->
tUse the generator to find a boundary that doesn't conflict.
val join_without_checking_for_conflicts :
?prologue:Bigstring_shared.t ->
parts:String_monoid.t list ->
?epilogue:Bigstring_shared.t ->
t ->
String_monoid.tCombine parts using the given boundary. This assumes that the boundary doesn't conflict.
val split :
t ->
Bigstring_shared.t ->
Bigstring_shared.t option
* Bigstring_shared.t list
* Bigstring_shared.t optionSplits a multipart body into a list of messages, and, if there are, an optional prologue and epilogue.