Reading through the Warp.scala code should give you the answer, though I get that it's a relatively complex chunk of code to completely parse. We can go over the code together at the code sprint.