add a readystate 2 and 3 to $.ajax

add a readystate 2 and 3 to $.ajax

hello, i came accross a post on stackoverflow.com where someone was asking the exact same thing i was looking for. The conclusion was that you couldnt use $.ajax if you wanted to handle the readystate 2
so i made a patch for jQuery:

http://stackoverflow.com/questions/3309185/jquery-ajax-overwrite-onreadystatechange-handler/5271480#5271480


the awnser form Paul Scheltema

is it possible to include this in the core?

i took a quick look at the latest stable (1.5.1) and i saw that you could do a similar thing with the $.ajaxTransport but im not sure if the readystate 2 will be handled there either