Re: RFC: A standardized interface between web servers and applications or frameworks (ala WSGI)

13 Apr
2008
13 Apr
'08
9:08 p.m.
On Mon, 14 Apr 2008 11:06:43 Adam Langley wrote:
On Sun, Apr 13, 2008 at 4:59 AM, Johan Tibell
wrote: * Using a different set of data types would work better.
Give that this is Haskell, I'd suggest more types ;)
HTTP headers aren't just strings and, at the risk of tooting my own horn, I'll point to the Headers structure in [1].
And it could go further. The use of a given header is often valid only in certain requests or responses. Perhaps sprinkling some phantom types or type classes around could represent that. Daniel
6245
Age (days ago)
6245
Last active (days ago)
0 comments
1 participants
participants (1)
-
Daniel McAllansmith