Ooh, I should take a look at it.
For example, https://github.com/spray/spray/blob/master/spray-http/src/ma...
My own header definitions are pretty clumsy at present; I'm just about up to the stage of improving that with macros now. (I didn't do that to start with so that I could write a few and get a feel for what it would need to be like.)