On Jul 17, 2009, at 10:44 PM, Ricardo J. Parada wrote:
Hi All,
I have a page with a form where I upload a file. So the form's
encoding is multipart/form-data. Then on the browser side, I have
some javascript that programmatically adds '?fooID=anID' to the
form's URL set in its action attribute.
I was expecting to see fooID in the request's form values but it's
nowhere in there. I can see it in the request's URI though. Is
this a bug or is this the way multipart/form-data submits work?
My guess is that the form is using post instead of get. I think this
is required for uploading since the data could be larger than the URI
could hold. So in this case, the URI would not be considered part of
the form's data.
At least I think that's pretty much what's going on. I haven't delved
into the details of form uploads in some time.
HTH,
Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]