]> git.evergreen-ils.org Git - OpenSRF.git/commit
Detect and repair multipart/mixed message delivery errors
authorBill Erickson <berick@esilibrary.com>
Mon, 2 Apr 2012 18:55:56 +0000 (14:55 -0400)
committerDan Scott <dan@coffeecode.net>
Sat, 26 May 2012 03:11:25 +0000 (23:11 -0400)
commite7431d6fa114c35d3dc5b430fbb4bdae99edaa88
treeaaac431dc7f544cde2aa9bd6a2e7713adc8de99b
parent832f166b38acc9c68c9c1fcea1432d2ca881316b
Detect and repair multipart/mixed message delivery errors

For unknown reasons, the Content-Type header will occasionally be
included in the XHR.responseText for multipart/mixed messages.  When
this happens, strip the header and newlines from the message body and
re-parse.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Scott <dan@coffeecode.net>
src/javascript/opensrf.js