Function parseMultiPartForm

Parses a form in "multipart/form-data" format.

If any files are contained in the form, they are written to temporary files using vibe.core.file.createTempFile and returned in the files field.

Prototype

void parseMultiPartForm(
  ref string[string] fields,
  ref FilePart[string] files,
  string content_type,
  InputStream body_reader,
  ulong max_line_length
);

Authors

Sönke Ludwig, Jan Krüger

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.