We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d323dd6 commit c331ba4Copy full SHA for c331ba4
tsp/tsp_client.py
@@ -35,9 +35,11 @@
35
from tsp.experiment import Experiment
36
from tsp.output_descriptor import OutputDescriptor
37
38
-headers = {'content-type': 'application/json', 'Accept': 'application/json'}
+APPLICATION_JSON = 'application/json'
39
+
40
+headers = {'content-type': APPLICATION_JSON, 'Accept': APPLICATION_JSON}
41
headers_form = {'content-type': 'application/x-www-form-urlencoded',
- 'Accept': 'application/json'}
42
+ 'Accept': APPLICATION_JSON}
43
44
45
# pylint: disable=consider-using-f-string
0 commit comments