http: fix html type for request.

This commit is contained in:
Christopher Jeffrey 2016-12-15 09:15:37 -08:00
parent ee3745616e
commit 8b05ef2def
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -562,6 +562,8 @@ function getType(type) {
return 'application/x-www-form-urlencoded; charset=utf-8';
case 'json':
return 'application/json; charset=utf-8';
case 'html':
return 'text/html; charset=utf-8';
case 'text':
return 'text/plain; charset=utf-8';
case 'binary':