mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
Updated docs for multipart errors
This commit is contained in:
committed by
Ryan Dahl
parent
7d947f8723
commit
d9085ea0cb
@@ -1134,9 +1134,11 @@ Node. To use it, +require("multipart")+.
|
||||
+multipart.parse(options)+ ::
|
||||
- on success: Returns an object where each key holds the value of one part of
|
||||
the stream. +options+ can either be an instance of
|
||||
+http.ServerRequest+ or an object containing a "boundary" and a
|
||||
"data" key.
|
||||
- on error: no parameters.
|
||||
+http.ServerRequest+ or an object containing a "boundary" and
|
||||
an optional "data" key.
|
||||
- on error: Returns an instanceof Error object. Right now only the request
|
||||
content-type / boundary option is checked. The stream data itself
|
||||
is not validated.
|
||||
|
||||
==== +multipart.Stream+
|
||||
|
||||
|
||||
Reference in New Issue
Block a user