diff --git a/java/web相关/1.web跨域相关问题.md b/java/web相关/1.web跨域相关问题.md index 9f6e738..416775b 100644 --- a/java/web相关/1.web跨域相关问题.md +++ b/java/web相关/1.web跨域相关问题.md @@ -1,14 +1,12 @@ --- -id: '2019-03-05-13-41' -date: '2019/03/05 13:41' -title: 'web跨域及cookie学习' -tags: ['web', 'http请求跨域', 'cookie共享', 'get', 'post'] +id: "2019-03-05-13-41" +date: "2019/03/05 13:41" +title: "web跨域及cookie学习" +tags: ["web", "http请求跨域", "cookie共享", "get", "post"] categories: - - 'web' + - "web" --- -**本篇原创发布于:**[FleyX 的个人博客](http://tapme.top/blog/detail/2019-03-05-13-41) -   之前对于跨域相关的知识一致都很零碎,正好现在的代码中用到了跨域相关的,现在来对这些知识做一个汇总整理,方便自己查看,说不定也可能对你有所帮助。 **本篇主要内容如下:** @@ -110,3 +108,5 @@ server { - Domain : `.example`,path : `/a`可获取 cookie:http://example:8081/a , https://localhost:8081/a , http://test.example:889/a **注意**:在跨域请求中,即时目标地址有 cookie 且发起请求的页面也能读取到该 cookie,浏览器也不会将 cookie 自动设置到该跨域请求中。比如在http://localhost:8082/a页面中请求http://localhost:8081/abc,这两个地址下拥有共享cookie,http请求也不会携带cookie。 + +**本篇原创发布于:**[FleyX 的个人博客](http://tapme.top/blog/detail/2019-03-05-13-41) diff --git a/wx.png b/wx.png new file mode 100644 index 0000000..d3ffed4 Binary files /dev/null and b/wx.png differ diff --git a/二维码推广图.png b/二维码推广图.png deleted file mode 100644 index 816b3f0..0000000 Binary files a/二维码推广图.png and /dev/null differ