Does webrick support multipart?

Hi

Does webrick support multipart forms?
I am using CGI#multipart_form and can’t
seem to get anything.

···


Jim Freeze

Which is worse: ignorance or apathy? Who knows? Who cares?

Hi,

In message 20030110003655.A73688@freeze.org,

···

`Jim Freeze jim@freeze.org’ wrote:

Does webrick support multipart forms?
I am using CGI#multipart_form and can’t
seem to get anything.

It’s planned to support in the next release.
CVS snapshot includes an experimental code.
regards,


gotoyuzo

Hi

I downloaded what I think is the latest webrick tarball and tried
to upload a file.

It is a simple one line file, but I get a file with the
file name, zeros, and then the file data.
Is there a way to parse this and get just the name and the data?
Below is the relevant output of test.cgi.

file:
[“\000\004v.rb\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\020\000\000\000\000\272
\267:\272G\233\205\000\000\000mBIN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\202\201\256\022\000\000This
is a
test.\n\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000”]
radio: [“2”]
text: [nil]

···

On Friday, 10 January 2003 at 23:24:55 +0900, GOTOU Yuuzou wrote:

Hi,

In message 20030110003655.A73688@freeze.org,
`Jim Freeze jim@freeze.org’ wrote:

Does webrick support multipart forms?
I am using CGI#multipart_form and can’t
seem to get anything.

It’s planned to support in the next release.
CVS snapshot includes an experimental code.
regards,


Jim Freeze

Slowly and surely the unix crept up on the Nintendo user …