Robert Collins is a colleague of mine at Canonical. He accosted me <wink> in
the halls of UDS and reminded me of some code he'd written to handle content
types and byte/string content. I don't have much time right now to comment on
it, but it looks interesting and I want to get this into our archives. We
should look at it for some of our low-level implementation bits.