From 15727c5ac1e2d30cb376f39146a27667008df2e4 Mon Sep 17 00:00:00 2001 From: mscdex Date: Fri, 28 Jun 2013 13:15:12 -0400 Subject: [PATCH] Parser: body structure can be either 'BODY' or 'BODYSTRUCTURE' --- lib/Parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Parser.js b/lib/Parser.js index 388f5a8..a54c533 100644 --- a/lib/Parser.js +++ b/lib/Parser.js @@ -329,7 +329,7 @@ function parseFetch(text, literals) { val = parseFetchEnvelope(val); else if (key === 'internaldate') val = new Date(val); - else if (key === 'body') + else if (key === 'body' || key === 'bodystructure') val = parseBodyStructure(val); attrs[key] = val; }