From 28b1457a3a5bf19520bc3771a545d1e01393f871 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Fri, 15 Jul 2016 21:39:42 -0700 Subject: [PATCH] Remove unnecessary header --- anki_connect.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/anki_connect.py b/anki_connect.py index 4059f9c..5600d29 100644 --- a/anki_connect.py +++ b/anki_connect.py @@ -160,8 +160,7 @@ class AjaxServer: headers = { 'HTTP/1.1 200 OK': None, 'Content-Type': 'text/json', - 'Content-Length': str(len(body)), - 'Access-Control-Allow-Origin': 'http://127.0.0.1' + 'Content-Length': str(len(body)) } for key, value in headers.items():