projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f494149
)
DCC example code sets both content-type and accept for sending API access
author
Diane Trout
<diane@ghic.org>
Thu, 24 Jul 2014 21:52:28 +0000
(14:52 -0700)
committer
Diane Trout
<diane@ghic.org>
Thu, 24 Jul 2014 21:52:28 +0000
(14:52 -0700)
htsworkflow/submission/encoded.py
patch
|
blob
|
history
diff --git
a/htsworkflow/submission/encoded.py
b/htsworkflow/submission/encoded.py
index 71945b335911f8d2ffacbd77f48399c8e4d4fea1..a2d0add0fde7d03e09eba2cc342d04c4474f8c4e 100644
(file)
--- a/
htsworkflow/submission/encoded.py
+++ b/
htsworkflow/submission/encoded.py
@@
-95,7
+95,7
@@
class ENCODED:
self.username = None
self.password = None
self.contexts = contexts if contexts else ENCODED_CONTEXT
- self.json_headers = {'
Content-Type
': 'application/json'}
+ self.json_headers = {'
content-type': 'application/json', 'accept
': 'application/json'}
self.schemas = {}
def get_auth(self):