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
set content type to application/json #53
Conversation
I think you want application/json |
text/json did fix it for me but application/json makes more sense now you mention it. Cheers! |
@davisagli @frisi This PR fixes the false "Failed" error message for me in yet another Plone project (4.3.2). |
@reinhardt Which IE's are no longer supported? |
In our tests IE9 and earlier still had problems. Bear in mind though that with the recent hotfix those versions have problems with the old content-type setting as well. |
@davisagli Sorry, you're right. I had just seen that you had replied on this PR / the ticket referencing it and addressed you by default. I hadn't really checked if you're also maintainers. |
IE9 wants do download the @@quick_upload_file response (see screenshot), but the file upload works @thet: should we add the hotfix to the test-buildout-configs (at least for test-plone-4.3.x.cfg)?
@thet could you add me as a maintainer? i'd add the hotfix to the tests (if you think that makes sense), squash the commits and do the release |
@reinhardt: could you squash your commits please? @thet , @tdesvenain could you please comment on my proposal to add the csrf-hotfix to the tests. |
Fix looks good to me. Adding plone4.csrffixes to the test buildout is fine with me. But just to be sure: not to setup.py please in any way. Getting plone4.csrffixes added in another buildout just because you add collective.quickupload would be a bad thing. Oh, if you are going to squash commits, please rebase on master too as that has already done the unittest2 dependency better than on this pull request branch. |
d65ba60
to
1fefc10
Compare
Thanks for the comments! I've squashed and rebased. |
set content type to application/json
@thet and me have pypi owner role. If somebody want to have Owner role to make a new release please give me your pypi login. |
thanks @reinhardt @mauritsvanrees @thet and @vincentfretin - release is done |
Brilliant, cheers! |
text/json is not supported by old IEs but text/html fails in every browser with plone.protect 3.0.11