Skip to content

Commit 86c4d4d

Browse files
author
Jason Moon
committed
Added note about POST Content-Type of text/plain
1 parent 2d85f53 commit 86c4d4d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ Implements automatic *Cross Origin Resource Sharing* support using the `XDomainR
44
> **CORS** requires the `Access-Control-Allow-Origin` header to be present in the AJAX response from the server.
55
66
In order to use XDomainRequest in Internet Explorer, the request must be:
7-
- asynchronous
8-
- GET or POST
9-
- HTTP or HTTPS
10-
- same scheme as calling page
7+
- Only GET or POST
8+
- When POSTing, the data will always be sent with a `Content-Type` of `text/plain`
9+
- Only HTTP or HTTPS
10+
- Protocol must be the same scheme as the calling page
11+
- Always asynchronous
1112

1213
Working example here:
1314
http://jsfiddle.net/MoonScript/Q7bVG/

0 commit comments

Comments
 (0)