You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to add and support a new type of request: MultipartRequest. This is important because it is usually used by web applications to upload files to a web server.
The MultipartRequest should support:
addRequest: Adds an HTTP request to the multipart request. Remember that a multipart request is one big HTTP request that contains smaller "HTTP requests" within it.
addAttachment: A convenience function which calls addRequest above with a GeneralRequest object that sends the given file.
The text was updated successfully, but these errors were encountered:
We need to add and support a new type of request:
MultipartRequest
. This is important because it is usually used by web applications to upload files to a web server.The
MultipartRequest
should support:addRequest
: Adds an HTTP request to the multipart request. Remember that a multipart request is one big HTTP request that contains smaller "HTTP requests" within it.addAttachment
: A convenience function which callsaddRequest
above with aGeneralRequest
object that sends the given file.The text was updated successfully, but these errors were encountered: