• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Multipart/form-data submission with form URL having ?fooID=anID
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multipart/form-data submission with form URL having ?fooID=anID


  • Subject: Re: Multipart/form-data submission with form URL having ?fooID=anID
  • From: Kevin Windham <email@hidden>
  • Date: Fri, 17 Jul 2009 23:05:43 -0500


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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Multipart/form-data submission with form URL having ?fooID=anID (From: "Ricardo J. Parada" <email@hidden>)

  • Prev by Date: Multipart/form-data submission with form URL having ?fooID=anID
  • Next by Date: Re: Multipart/form-data submission with form URL having ?fooID=anID
  • Previous by thread: Multipart/form-data submission with form URL having ?fooID=anID
  • Next by thread: Re: Multipart/form-data submission with form URL having ?fooID=anID
  • Index(es):
    • Date
    • Thread