Hey! I'm available for hire (and I appreciate tips)  



Ever tried to create a web application that could feasibly work from any other website (or even the desktop) without the client having to set up anything - a sort of pluggable widget? Ugh...

I'd like to have a nice large table for the various scenarios and browsers, but until then I'll just make my notes here.

AJAX Cross Site

GET allows only application/json, application/javascript, text/javascript
GET may have a body (thus emulating an AJAX post), except in IE
POST is forbidden
HEADERS forbid X-HTTP-Method-Override
CORS is supported by all modern browsers except Opera

HTML Cross Site

GET allows application/json, application/javascript, text/javascript
GET forbids text/plain

POST allows application/json, application/x-www-form-urlencoded, multipart/form-data
POST forbids none

Same-domain

Everything should be supported
HEADERS allow X-HTTP-Method-Override


http://annevankesteren.nl/2007/10/http-method-support

By AJ ONeal

Was this useful to you? Share it!

Also, you can give me a tip or hire me.


Published

2009-12-3

Categories


Tags