Fix syntaxnet request headers
This commit is contained in:
parent
6224f8e727
commit
25ab703d8f
@ -10,7 +10,6 @@ class Syntax:
|
|||||||
data=text.encode('utf-8'),
|
data=text.encode('utf-8'),
|
||||||
headers={
|
headers={
|
||||||
'Content-Type': 'text/plain; charset=utf-8',
|
'Content-Type': 'text/plain; charset=utf-8',
|
||||||
'Accept': 'text/plain',
|
|
||||||
'Content-Language': 'ru'
|
'Content-Language': 'ru'
|
||||||
})
|
})
|
||||||
result = response.text
|
result = response.text
|
||||||
|
Loading…
Reference in New Issue
Block a user