首页 > 移动平台 > 详细

{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}

时间:2019-07-21 19:04:40      阅读:792      评论:0      收藏:0      [点我收藏+]

解决方法:

1、进入head安装目录;

2、cd _site/

3、编辑vendor.js  共有两处

      ①. 6886行   contentType: "application/x-www-form-urlencoded

           改成

         contentType: "application/json;charset=UTF-8"

      ②. 7573行 var inspectData = s.contentType === "application/x-www-form-urlencoded" &&

        改成

            var inspectData = s.contentType === "application/json;charset=UTF-8" &&

{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}

原文:https://www.cnblogs.com/changeEveryDay/p/11221995.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!