Skip to content

Commit

Permalink
Remove trailing dots.
Browse files Browse the repository at this point in the history
  • Loading branch information
agrueneberg committed Mar 20, 2014
1 parent 7a18df7 commit 8e9437d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ Default: `true`.
FAQ
---

### My Ajax call returns `Origin X is not allowed by Access-Control-Allow-Origin`.
### Ajax call returns `Origin X is not allowed by Access-Control-Allow-Origin`

Check if the `Origin` header of your request matches one of the origins provided in the `origins` property of the configuration object. If you didn't set any `origins` property, jump to the next question.


### My Ajax call still returns `Origin X is not allowed by Access-Control-Allow-Origin`.
### Ajax call still returns `Origin X is not allowed by Access-Control-Allow-Origin`

Your request might use a non-simple method or one or more non-simple headers. According to the specification, the set of simple methods is `GET`, `HEAD`, and `POST`, and the set of simple request headers is `Accept`, `Accept-Language`, `Content-Language`, `Content-Type`, and `Last-Event-ID`. If your request uses **any** other method or header, you have to explicitly list them in the `methods` or `requestHeaders` property of the configuration object.

Expand All @@ -169,7 +169,7 @@ You want to allow requests that use an `X-Requested-With` header. Pass the follo
});


### Getting a response header returns `Refused to get unsafe header "X"`.
### Getting a response header returns `Refused to get unsafe header "X"`

Your browser blocks every non-simple response headers that was not explicitly allowed in the preflight request. The set of simple response headers is `Cache-Control`, `Content-Language`, `Content-Type`, `Expires`, `Last-Modified`, `Pragma`. If you want to access **any** other response header, you have to explicitly list them in the `responseHeaders` property of the configuration object.

Expand Down

0 comments on commit 8e9437d

Please sign in to comment.