http: fix html type for request.
This commit is contained in:
parent
ee3745616e
commit
8b05ef2def
@ -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':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user