[web-devel] [BUG] in WAI definition

Manlio Perillo manlio_perillo at libero.it
Sun Feb 8 11:21:37 EST 2009


Hi all.

I'm trying to compile the example WAI application, as defined in
http://www.haskell.org/haskellwiki/WebApplicationInterface

However there are several bugs.

1) The example application returns:
    return (status, responseHeaders, enumerator)

    where status is an integer

2) The CgiAdapter expects:
    (status, reason, respHeaders, output) <- application environ

In detail, the type "Application", used in CgiAdapter is never defined.




Manlio Perillo


More information about the web-devel mailing list