3 ms·
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
by zaphar 13y ago
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.
- ethzero 13y agoSpray 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.