From 25ab703d8f2970cd187ab814be49ac2900d3230c Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Fri, 14 Jan 2022 17:49:00 +0400 Subject: [PATCH] Fix syntaxnet request headers --- syntax.py | 1 - 1 file changed, 1 deletion(-) diff --git a/syntax.py b/syntax.py index 1b8dda1..5ed073a 100644 --- a/syntax.py +++ b/syntax.py @@ -10,7 +10,6 @@ class Syntax: data=text.encode('utf-8'), headers={ 'Content-Type': 'text/plain; charset=utf-8', - 'Accept': 'text/plain', 'Content-Language': 'ru' }) result = response.text