07 2018 档案
url后面带斜杠与不带斜杠的区别
摘要:比如: 当Web服务器接收到对某个末尾不含斜杠的url请求时,例如https://www.baidu.com/test,这时服务器会搜索网站根目录下有没有名为“test”的文件,如果没有就把test当做目录处理,然后返回test目录下的默认首页。 当Web服务器接收到的是末尾带斜杠的请求时就会直接当 阅读全文
posted @ 2018-07-31 10:22 miaoying 阅读(674) 评论(0) 推荐(0)
Http Request Method:options
摘要:在调试前端界面时突然发现每个请求都执行了两次,点进去看详情,才发现第一个请求是options 阅读全文
posted @ 2018-07-24 16:55 miaoying 阅读(1081) 评论(0) 推荐(0)
org.springframework.boot.builder.SpringApplicationBuilder.<init>
摘要:新建了一个Spring cloud项目,启动时报错org.springframework.boot.builder.SpringApplicationBuilder.<init> 翻阅资料得知,是由于Spring boot版本和spring cloud版本不兼容导致的,由于当前我使用的是Spring 阅读全文
posted @ 2018-07-10 00:21 miaoying 阅读(4100) 评论(0) 推荐(0)
Uncaught (in promise) DOMException: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL
摘要:解决方案:url前面一定要加http:// 阅读全文
posted @ 2018-07-06 15:57 miaoying 阅读(13485) 评论(0) 推荐(1)