Re:Scala – 1 Star – Would Not Program Again
by zaphar on Sunday December 01, 2013 @09:16PM
(#6830951)
The author isn't wanting to write invalid headers. He's wanting to write perfectly valid headers that the framework he's using didn't allow him to write.
When the framework treats a a valid http header as invalid the framework is probably using the wrong abstraction for http headers.
Re:Scala – 1 Star – Would Not Program Again
by ethzero on Sunday December 01, 2013 @09:36PM
(#6831081)
Spray allows you to define custom (even invalid) headers, all you have to do is subclass HttpHeader. I'm sure the author knew this, but it's not obvious from his criticism.
When the framework treats a a valid http header as invalid the framework is probably using the wrong abstraction for http headers.