A rewrite of multipart library.
authorisaacs <i@izs.me>
Fri, 5 Feb 2010 22:26:44 +0000 (14:26 -0800)
committerRyan Dahl <ry@tinyclouds.org>
Mon, 8 Feb 2010 22:03:06 +0000 (14:03 -0800)
commit3adcdfc2e1db7ce0adb017a92864d44424e99012
tree3a822278dae3211da02d61eef55e7e5fa1a1c8e2
parent4234ac53e26675492d39504a73a5672c24bbda97
A rewrite of multipart library.

1. Support streaming in the simple case.  Put huge warnings around the
buffering API.
2. Support nested multipart messages.
3. Support various kinds of multipart messages, including all the various
absurdities of multipart email messages.
4. Error out on various invalid types of data that might come through.
5. Gracefully several edge cases that occur when the chunk size is smaller
than the boundary length, or cuts into the \r\n, etc.
6. Provide both positive and negative tests.
doc/api.txt
lib/multipart.js
test/mjsunit/fixtures/multipart.js
test/mjsunit/test-multipart.js