X-Git-Url: https://git.novaco.in/?p=electrum-server.git;a=blobdiff_plain;f=transports%2Fstratum_http.py;fp=transports%2Fstratum_http.py;h=eace4abf3f76d49f9778aea78e68bb89b053ec76;hp=add17ea20cad98ab5566476146c3e1e9bec9e321;hb=9aee581ec251daf4b8086d44c3c2d727cb02bd04;hpb=f164245c219ccfb3253413b20f4e04bbb53b1bc7 diff --git a/transports/stratum_http.py b/transports/stratum_http.py index add17ea..eace4ab 100644 --- a/transports/stratum_http.py +++ b/transports/stratum_http.py @@ -147,7 +147,7 @@ class StratumJSONRPCRequestHandler(SimpleXMLRPCServer.SimpleXMLRPCRequestHandler self.send_response(200) self.send_header('Allow', 'GET, POST, OPTIONS') self.send_header('Access-Control-Allow-Origin', '*') - self.send_header('Access-Control-Allow-Headers', '*') + self.send_header('Access-Control-Allow-Headers', 'Cache-Control, Content-Language, Content-Type, Expires, Last-Modified, Pragma, Accept-Language, Accept, Origin') self.send_header('Content-Length', '0') self.end_headers()