zotero / citeproc-js-server

Web service to generate citations and bibliographies using citeproc-js
Other
60 stars 39 forks source link

Fix duplicate '100-continue' bug. #7

Closed Auk14HP closed 10 years ago

Auk14HP commented 11 years ago

Node.js automatically responds with a 100-continue if the 'checkContinue' event isn't handled (http://nodejs.org/api/http.html#http_event_checkcontinue).

We tried to use citeproc-node via web requests made in C#, but were unable to deserialize the json results. Through some investigation, we found that our POST requests had their Expect headers set to '100-continue' by default. Since node.js and citeproc-node sent back 100-continue responses to this, the deserialization of the call ultimately failed.

Repro steps:

fcheslack commented 10 years ago

The problems here were due to differing nodejs versions. Master has now been updated to work on latest stable and most of these issues have been addressed.

Those not fully addressed: