Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form plugin does not handle redirect response #19

Closed
hawkett opened this issue Jun 21, 2010 · 1 comment
Closed

Form plugin does not handle redirect response #19

hawkett opened this issue Jun 21, 2010 · 1 comment

Comments

@hawkett
Copy link

hawkett commented Jun 21, 2010

Google App Engine's blobstore upload handler http://code.google.com/appengine/docs/python/blobstore/overview.html#Complete_Sample_App mandates a redirect response, and it looks like the form plugin doesn't handle this properly, returning 'null' as the response text. I'm guessing this is content of the redirect and not of the document returned by following the redirect.
More detail here - http://stackoverflow.com/questions/3080922/ajaxform-and-app-engine-blobstore

@malsup
Copy link
Collaborator

malsup commented Aug 9, 2010

True, this is not supported by the plugin, nor is it supported by jQuery.ajax. You can implement this yourself in the success handler by interrogating the 'Location' header of the XHR. However, this will not work for responses to file uploads because header information is unavailable.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants