Skip to content

Commit

Permalink
Merge pull request #111 from hallucynogenyc/patch-1
Browse files Browse the repository at this point in the history
Update documentation for renamed 'headers' parameter.
  • Loading branch information
corydolphin committed Mar 12, 2015
2 parents 7bcbe14 + e4709c8 commit 6384b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ The application-wide configuration options are identical to the keyword argument
When using JSON cross origin, browsers will issue a pre-flight OPTIONS request for POST requests. In order for browsers to allow POST requests with a JSON content type, you must allow the Content-Type header. The simplest way to do this is to simply set the CORS_HEADERS configuration value on your application, e.g:

```python
app.config['CORS_HEADERS'] = 'Content-Type'
app.config['CORS_ALLOW_HEADERS'] = 'Content-Type'
```

## Tests
Expand Down

0 comments on commit 6384b85

Please sign in to comment.