]> git.evergreen-ils.org Git - OpenSRF.git/commit
Detect and repair multipart/mixed message delivery errors rel_2_0
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:40 +0000 (23:11 -0400)
commitfad3318f39fb5a7ab546af2a62a4eb3ad00ce0bb
treed96b32b5c3245fcd1fdb58cb2b67b8a3d1d9699a
parent2e5c36e213292b802dcf17729ad705016892c99c
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