Hi Dave -

This so much for pulling this together, it's very useful.

I see some definite gaps that can be closed, when looking at this (for
script/json/jsonp):
 - beforeSend/ajaxSend
 - dataFilter
 - processData
 - timeout

Now, error and ajaxError could be handled - but to a limited degree.
If we implement timeout support then we could have the error/ajaxError
occur if the timeout happens - but we can't do it for malformed
JSON/script/jsonp, since the browser doesn't provide us with that
information. At best the script would come in, throw an exception, and
then the timeout would happen a couple seconds later. If we were to
make this change the timeout would have to happen automatically as
well (which is different from the other request types).

Cannot work with script/json/jsonp and should be documented as such:
 - async
 - contentType
 - ifModified
 - username / password
 - type (POST)
 - xhr
 - error/ajaxError for malformed data

--John



On Wed, Nov 11, 2009 at 7:55 PM, Dave Methvin <dave.meth...@gmail.com> wrote:
> Re:  http://groups.google.com/group/jquery-dev/msg/70b913e489c9fc8f
>
> Here is what I came up with. I built this mostly by looking at the
> source to ajax.js so let me know if there is anything that looks
> wrong:
>
> http://spreadsheets.google.com/ccc?key=0Aj5JJFjq9rZDdC1OQjJOcmtjTmtBUVdXV2NPczE2R2c&hl=en
>
> Does anyone see any errors, or have suggestions on different
> presentation?
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "jQuery Development" group.
> To post to this group, send email to jquery-...@googlegroups.com.
> To unsubscribe from this group, send email to 
> jquery-dev+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/jquery-dev?hl=.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=.


Reply via email to