Support application/json in dojo.io transports
According to the draft RFC, the preferred mime type for JSON is "application/json", but all of the transports in dojo.io only accept "text/json".
As a kind of aside, it took me a while to dig up this issue. I now understand that what I should do is inspect the request object returned by dojo.io.bind for its "bindSuccess" value, but that idiom isn't easy to find in dojo docs. (It doesn't show up at all in the "baking usability" document.) If nothing else, perhaps it would help to add a dojo.debug("No transports can handle your request") in io.js before returning.
Change History (4)
Milestone: |
→ 0.4
|
Owner: |
changed from anonymous to alex
|
Owner: |
changed from alex to James Burke
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
alex, any preference on what to do with this one?