
FWIW, Bjorn Bringert has improved and big-fixed Warrick Gray's HTTP in several ways, available from: http://www.dtek.chalmers.se/~d00bring/haskell-xml-rpc/http.html I've used this with greater success than I had with the original. Also, I've implemented an updated URI parser/processor, based on the new work-in-progress URI specification, which is available at: http://www.ninebynine.org/Software/Intro.html#HaskellURI http://www.ninebynine.org/Software/HaskellUtils/Network/ (The latter URI also contains a slightly modifed version of Bjorn's HTTP, that works with my URI module.) I am hoping/planning to contribute these to the Haskell common libraries, but have been waiting for (a) the new URI spec to be ratified, and (b) me having tome to make sure the small interface changes in my version of URI handling won't be too problematic for others. #g -- At 11:08 04/10/04 -0700, Christopher Milton wrote:
Have you looked at Warrick Gray's page?
http://homepages.paradise.net.nz/warrickg/haskell/http/
--- Philippa Cowderoy
wrote: On Fri, 1 Oct 2004, Christopher Milton wrote:
Are you writing a server or a client?
Could you describe a little bit more what you are trying to do?
I'm writing a little wiki clone. When the user edits and submits an entry, I'd like to have them send the updated text via a form, but have the entry they're editing hardcoded into the form they're sent - so they send the URL "myscript?edit=<entry>" and the text for the entry via the form.
I've also found use for urlEncode (which I've not bothered doing yet as my project's at a primitive stage so far), so it might be best just to expose those two from the existing code as ships with GHC?
--- Philippa Cowderoy
wrote: Would it be possible to expose urlDecode from Network.CGI, or to automatically parse the query string in response to a POST rather than just parsing the data on stdin?
-- flippa@flippac.org
_______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries
------------ Graham Klyne For email: http://www.ninebynine.org/#Contact