request/multipart

Name: multipart

Owner: request

Description: HTTP Multipart Body Stream

Created: 2015-12-01 09:32:58.0

Updated: 2017-07-22 05:02:58.0

Pushed: 2015-12-02 09:43:09.0

Homepage: null

Size: 9

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

@request/multipart

See @request/core for more details.

options = {
 related
ltipart: [],
 form-data
ltipart: {},

 optional
ntentType: 'multipart/related; boundary=',
undary: '',
eambleCRLF: true,
stambleCRLF: true



result = multipart(options)

lt.contentType
lt.body
s
elated
ipart: [{key: 'value', body: 'body'}]
ipart: [{key: 'value', body: 'body'}]

orm-data
ipart: {key: 'value'}
ipart: {key: ['value', 'value']}
ipart: {key: {
lue: 'value',
tions: {filename: '', contentType: '', knownLength: 0}

Notice

This module may contain code snippets initially implemented in request by request contributors.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.