[Haskell-cafe] HTTP and file upload

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sat Apr 19 03:10:32 EDT 2008


On Fri, 2008-04-18 at 13:22 -0700, Adam Smyczek wrote:

> The following code is just a small wrapper around the Browser module  
> that adds support for multipart/form-data content type. It's more or
> less a prototype but works fine for me. Looking forward to suggestions
> how to improve it. Be gentle, it's beginner code :)

You may like to compare it with the code that 'cabal upload' uses for
uploading tarballs to hackage:
http://darcs.haskell.org/cabal-install/Hackage/Upload.hs

I don't claim our code is perfect, you may have some suggestions for
us! :-)

Duncan



More information about the Haskell-Cafe mailing list