Don't need parenthesis around the list. Do something like:

```
headers = [('Access-Control-Allow-Origin', origin),
           ('Access-Control-Allow-Methods', 'POST'), ....
```