markrendle/Simple.Web — pull request #9 by i-e-b (2012-06-23 21:34:56+00:00)
Title: File POST, multipart parser

Hi Mark.

Have integrated your Multipart MIME parser into the OWIN self-host. There's a problem with double-evaluating IEnumerables (yield against streams), so I am just caching an array of the files.
Shouldn't be a problem on low load / small files, but the request stream pipeline would make high load, big file processing tricky and memory intensive.

Will look at chunked transfer (a la WebSockets) if I get time.

I think the only major components left are Cookies and Authentication. Cookies should be easy, haven't looked at the guts of auth yet.

--Iain B.