Stores multipart form data. FormData objects are created when WEBrick::HTTPUtils.parse_form_data is called.

Constants
No documentation available
No documentation available
Attributes
Read & Write

The name of the form data part

Read & Write

The filename of the form data part

Class Methods

Creates a new FormData object.

args is an Array of form data entries. One FormData will be created for each entry.

This is called by WEBrick::HTTPUtils.parse_form_data for you

Instance Methods

Adds str to this FormData which may be the body, a header or a header entry.

This is called by WEBrick::HTTPUtils.parse_form_data for you

Retrieves the header at the first entry in key

Adds data at the end of the chain of entries

This is called by WEBrick::HTTPUtils.parse_form_data for you.

Yields each entry in this FormData

Returns all the FormData as an Array

An alias for list

This FormData’s body