So I've been playing around with Apache::Request for the last day or two,
trying to figure out what it's capabilities are for processing uploaded
files. I was hoping to use it as the back-end of an HTTP-based API I'm
creating.
It looks like it requires that a "filename" parameter on the
Content-Disposition MIME block header to exist in order to find the MIME
block, or it will entirely skip the block. It can handle a missing "name"
parameter just fine (which seems strange).
Good Examples:
Content-Disposition: form-data; name="test1"; filename="test1.txt"
Content-Disposition: form-data; filename="test1.txt"
Bad Example:
Content-Disposition: form-data; name="test1"
Has anyone else played around with Apache::Request in this way?
-jse