Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cohttp-async/src/body_raw.ml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type t = [

let empty = `Empty
let of_string s = ((B.of_string s) :> t)
let of_pipe p = `Pipe (Pipe.filter ~f:(fun s -> String.(s <> "")) p)
let of_pipe p = `Pipe p

let to_string = function
| #B.t as body -> return (B.to_string body)
Expand Down