Skip to content

Commit 9daa638

Browse files
committed
Add a missing content-type.
1 parent 21e0cdb commit 9daa638

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9109,6 +9109,7 @@ Subscribe.prototype.execute = function(status, isError) {
91099109
res.$text();
91109110
} else {
91119111
res.options.body = U.httpStatus(status) + prepare_error(self.exception);
9112+
res.options.type = CONTENTTYPE_TEXTPLAIN;
91129113
res.options.code = status || 404;
91139114
res.$text();
91149115
}

0 commit comments

Comments
 (0)