Did I accidentally reply just to you? Sorry, I was expecting better default behavior of Gmail...<div><br></div><div>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 modifications too.</div>

<div><br></div><div><br></div><div>Aristid</div><div><br><br><div class="gmail_quote">2011/2/2 Jeremy Shaw <span dir="ltr">&lt;<a href="mailto:jeremy@n-heptane.com">jeremy@n-heptane.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I am not sure what you mean. WAI does not actually include a server.<br>
It is just the Request/Response types, status codes, and some headers,<br>
<br>
<a href="http://hackage.haskell.org/packages/archive/wai/0.3.1/doc/html/Network-Wai.html" target="_blank">http://hackage.haskell.org/packages/archive/wai/0.3.1/doc/html/Network-Wai.html</a><br>
<br>
if you want an actual server (which you don&#39;t) then you would need<br>
warp or something.<br>
<br>
- jeremy<br>
<br>
On Tue, Feb 1, 2011 at 4:59 PM, Aristid Breitkreuz<br>
<div><div></div><div class="h5">&lt;<a href="mailto:aristidb@googlemail.com">aristidb@googlemail.com</a>&gt; wrote:<br>
&gt; WAI is too wide in scope, IMO. I would like to be able to use http-types in<br>
&gt; client-only code that does not want any of the HTTP server functionality.<br>
&gt;<br>
&gt; Aristid<br>
&gt;<br>
&gt; 2011/2/1 Jeremy Shaw &lt;<a href="mailto:jeremy@n-heptane.com">jeremy@n-heptane.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; This is essentially what WAI is supposed to be. (Though WAI is more<br>
&gt;&gt; server focused).<br>
&gt;&gt;<br>
&gt;&gt; I think it is a good idea, but people seem unhappy to standardize on<br>
&gt;&gt; what those types should look like...<br>
&gt;&gt;<br>
&gt;&gt; - jeremy<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Feb 1, 2011 at 1:55 PM, Aristid Breitkreuz<br>
&gt;&gt; &lt;<a href="mailto:aristidb@googlemail.com">aristidb@googlemail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt; Hear me out, I have an idea! :-)<br>
&gt;&gt; &gt; How about creating a new package &quot;http-types&quot; containing Request /<br>
&gt;&gt; &gt; Response<br>
&gt;&gt; &gt; / status code / header name types for HTTP. These could be used by both<br>
&gt;&gt; &gt; server and client software, and might even allow switching between HTTP<br>
&gt;&gt; &gt; client libraries (say, if I want to switch between http-enumerator and<br>
&gt;&gt; &gt; HTTP).<br>
&gt;&gt; &gt; What do you think?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Aristid<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; web-devel mailing list<br>
&gt;&gt; &gt; <a href="mailto:web-devel@haskell.org">web-devel@haskell.org</a><br>
&gt;&gt; &gt; <a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>