Yes!  Thank you Pär!

On Nov 28, 10:00 am, "Pär Wieslander" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> You're making a POST request, but you still transfer the data in the
> query string of the URL, so the limit on the length of the URL still
> applies.  You need to transfer the data in the request body instead,
> using doXHR's sendContent option.
>
> Best regards,
>
> Pär
>
> On 11/28/07, g <[EMAIL PROTECTED]> wrote:
>
>
>
> > I am already trying to use a POST request:
>
> > var def = doXHR('/path/function_name', {'method':'POST', 'queryString':
> > {key:serializeJSON(my_array)}});
> > var d = def.addCallback(evalJSONRequest);
> > d.addCallback(a_js_function);
> > d.addErrback(another_js_function);
> > return false;
>
> > This is working perfectly fine in Firefox, but in IE, I'm getting an
> > AlreadyCalledError in my .addErrback function.
>
> > Also, this method is working in IE on other pages with smaller
> > requests, so I assumed it was something to with request length b/c of
> > this:http://support.microsoft.com/default.aspx?scid=KB;en-us;q208427
> > it appears to apply to both GET and POST requests.
>
> > Any help is greatly appreciated...
>
> > On Nov 28, 3:18 am, "Per Cederberg" <[EMAIL PROTECTED]> wrote:
> > > If I recall correctly, it is HTTP GET requests that are limited in
> > > size (or really URL length). Send your data with HTTP POST instead and
> > > you'll get all kinds of other benefits as well.
>
> > > /Per
>
> > > On Nov 28, 2007 1:09 AM, Daniel Fetchinson <[EMAIL PROTECTED]> wrote:
>
> > > > > Does anybody know of a workaround to the limitation that IE puts on a
> > > > > URL Post?  I believe it limits the number of characters to be 2048.
> > > > > Of course, my requests work fine in Firefox, but I need to make the
> > > > > app IE compatible.  I use the doXHR() function for my xmlHttpRequests.
>
> > > > Splitting the text into several chunks and sending them separately?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to