Fix syntaxnet request headers

This commit is contained in:
Aleksey Filippov 2022-01-14 17:49:00 +04:00
parent 6224f8e727
commit 25ab703d8f

View File

@ -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