Skip to content

Commit

Permalink
Merge pull request #1119 from d00rman/math/x-store-ct
Browse files Browse the repository at this point in the history
Mathoid: Set `x-store-content-type` for check results
  • Loading branch information
Pchelolo committed Apr 16, 2019
2 parents f54bd1a + 2f70415 commit 742d02d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sys/mathoid.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ class MathoidService {
// store the normalised version
return hyper.put({
uri: new URI([rp.domain, 'sys', 'post_data', 'mathoid_ng.input', '']),
headers: { 'content-type': 'application/json' },
headers: {
'content-type': 'application/json',
'x-store-content-type': 'application/json'
},
body: {
q: res.body.checked,
type: rp.type
Expand Down

0 comments on commit 742d02d

Please sign in to comment.