Skip to content

Commit fabd9cb

Browse files
committed
Fix empty content-type.
1 parent 9daa638 commit fabd9cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12479,7 +12479,7 @@ Controller.prototype.$memorize_prepare = function(key, expires, disabled, fnTo,
1247912479
return;
1248012480
}
1248112481

12482-
var options = { content: value, type: contentType, layout: self.layoutName, theme: self.themeName };
12482+
var options = { content: value, type: contentType || CONTENTTYPE_TEXTPLAIN, layout: self.layoutName, theme: self.themeName };
1248312483
if (headers)
1248412484
options.headers = headers;
1248512485

0 commit comments

Comments
 (0)