[web-devel] Proposal: http-types
aristidb at googlemail.com
Wed Feb 2 00:17:58 CET 2011
Did I accidentally reply just to you? Sorry, I was expecting better default
behavior of Gmail...
After a closer look, I now see that WAI really is mostly just types, but
those types DO seem to be fairly server-centric. Response especially does
not seem to be particularly useful for clients, but Request might need some
2011/2/2 Jeremy Shaw <jeremy at n-heptane.com>
> I am not sure what you mean. WAI does not actually include a server.
> It is just the Request/Response types, status codes, and some headers,
> if you want an actual server (which you don't) then you would need
> warp or something.
> - jeremy
> On Tue, Feb 1, 2011 at 4:59 PM, Aristid Breitkreuz
> <aristidb at googlemail.com> wrote:
> > WAI is too wide in scope, IMO. I would like to be able to use http-types
> > client-only code that does not want any of the HTTP server functionality.
> > Aristid
> > 2011/2/1 Jeremy Shaw <jeremy at n-heptane.com>
> >> This is essentially what WAI is supposed to be. (Though WAI is more
> >> server focused).
> >> I think it is a good idea, but people seem unhappy to standardize on
> >> what those types should look like...
> >> - jeremy
> >> On Tue, Feb 1, 2011 at 1:55 PM, Aristid Breitkreuz
> >> <aristidb at googlemail.com> wrote:
> >> > Hi,
> >> > Hear me out, I have an idea! :-)
> >> > How about creating a new package "http-types" containing Request /
> >> > Response
> >> > / status code / header name types for HTTP. These could be used by
> >> > server and client software, and might even allow switching between
> >> > client libraries (say, if I want to switch between http-enumerator and
> >> > HTTP).
> >> > What do you think?
> >> >
> >> > Aristid
> >> > _______________________________________________
> >> > web-devel mailing list
> >> > web-devel at haskell.org
> >> > http://www.haskell.org/mailman/listinfo/web-devel
> >> >
> >> >
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the web-devel