https://bugzilla.wikimedia.org/show_bug.cgi?id=17255

--- Comment #14 from Michael Dale <[email protected]> 2011-03-29 18:24:29 UTC ---
(In reply to comment #13)
> (In reply to comment #12)
> > Modern XHR browser implementations do support reading and sending custom
> > headers and reading custom response codes etc. ie
> > xhr.setRequestHeader('custom-header', 'value'); and 
> > xhr.getAllResponseHeaders()
> > etc. 
> > 
> > We won't be supporting non-modern XHR systems since the browser needs to
> > support the blob slice api... I don't think the issue would be on the 
> > client,
> > my concern would be if there are any foreseen issues on the back end.
> > 
> > I suppose we could support both... by also supporting these headers in the 
> > api
> > request and response.
> Does jQuery AJAX support this?

Sure, jQuery returns the raw XHR object. But it would need to be a "plugin"
that extended the ajax support. Ie the jQuery plugin would take an
input[type=file] or parent form and "POST" it to an api target and give you
status updates via callbacks or polling. 

If done at the protocol level, the jQuery plugin could be a general purpose
plugin for any php based Google resumable upload implementation.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to