#1169 closed defect (fixed)
The dojo.io upload using the formNode with a return type of "text/xml" doesn't send the request...
Reported by: | Owned by: | James Burke | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | IO | Version: | 0.3 |
Keywords: | Cc: | [email protected]… | |
Blocked By: | Blocking: |
Description
In version 0.3.1 the dojo.io.bind upload using the formNode property with a return type of "text/xml" doesn't send the request from the browser for either firefox 1.5.0.5 or ie 6.0.29. It works for "text/javascript" and "text/plain".
This can be reproduced by using the http://archive.dojotoolkit.org/nightly/tests/io/test_IframeIO.html example and just change the mimetype from "text/javascript" to "text/xml". I used Live HTTP headers to verify this fact.
Attachments (1)
Change History (7)
Changed 14 years ago by
comment:1 Changed 14 years ago by
Cc: | [email protected]… added |
---|
IframeIO does not support a text/xml return type because there is no good cross-browser way to get the XML document out from an iframe. There is a note about text/xml not being supported in this page:
http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book24
Perhaps though, what we should fix is how to detect that dojo.io.bind() cannot fulfill the request (right now it will just silently not call IframeTransport?'s bind() method, and just return the dojo.io.Request object). It would be good to at least let the caller know that the bind request is not going to happen.
comment:2 Changed 14 years ago by
Milestone: | → 0.4 |
---|---|
Priority: | high → normal |
Version: | 0.2 → 0.3 |
comment:3 Changed 14 years ago by
Owner: | changed from alex to James Burke |
---|
Stealing io and package bugs from Alex. Holler if you want it back.
comment:4 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Altered example to show reproducible test case