随笔分类 -  WEB

摘要:TL;DR 其实是浏览器同一个窗口下限制了对同一个url会执行串行操作。 1.参考 https://stackoverflow.com/questions/35051499/how-to-get-flask-gunicorn-to-handle-concurrent-requests-for-the 阅读全文
posted @ 2020-10-01 22:58 Rocin 阅读(717) 评论(0) 推荐(0)
摘要:参考网址 https://mathiasbynens.github.io/rel noopener/ 例子 target="_blank"会打开一个新tab,如果不加rel="noopener",那么在新tab中会有一个window.opener对象,相当于可以控制打开这个tab的前一个页面,这样会 阅读全文
posted @ 2019-02-10 17:27 Rocin 阅读(1380) 评论(0) 推荐(0)
摘要:定义 1. 参考Flask的文档http://flask.pocoo.org/docs/1.0/templating/ controlling autoescaping 2. 转义就是将 阅读全文
posted @ 2018-07-12 23:44 Rocin 阅读(281) 评论(0) 推荐(0)
摘要:传送门 1. https://www.zhihu.com/question/19998865/answer/26203965 2. https://en.wikipedia.org/wiki/Web_Server_Gateway_Interface 3. https://www.liaoxuefen 阅读全文
posted @ 2018-06-26 19:34 Rocin 阅读(116) 评论(0) 推荐(0)
摘要:JSON with Padding参考 1. https://zh.wikipedia.org/wiki/JSONP 2. http://www.runoob.com/json/json jsonp.html 使用步骤 1. 在\中写一个回调函数callBackFunction(response)。 阅读全文
posted @ 2018-06-14 23:39 Rocin 阅读(167) 评论(0) 推荐(0)
摘要:token概念参考 1. https://ninghao.net/blog/2834 2. https://stackoverflow.com/questions/1592534/what is token based authentication 3. http://www.woshipm.com 阅读全文
posted @ 2018-06-02 13:56 Rocin 阅读(397) 评论(0) 推荐(0)
摘要:1. CSRF参考 1. https://www.ibm.com/developerworks/cn/web/1102_niugang_csrf/ 2. https://en.wikipedia.org/wiki/Cross site_request_forgery 3. http://itinde 阅读全文
posted @ 2018-06-02 10:13 Rocin 阅读(157) 评论(0) 推荐(0)
摘要:参考 1. https://www.zhihu.com/question/20148405/answer/107071448 2. http://www.cnblogs.com/indream/p/3602348.html 3. https://www.liaoxuefeng.com/wiki/00 阅读全文
posted @ 2018-05-26 18:47 Rocin 阅读(253) 评论(0) 推荐(0)
摘要:参考 1. https://www.zhihu.com/question/27785028/answer/48096396 2. wiki太学术化了 3. http://www.ruanyifeng.com/blog/2011/09/restful.html 4. http://www.ruanyi 阅读全文
posted @ 2018-05-26 18:16 Rocin 阅读(255) 评论(0) 推荐(0)
摘要:参考: https://blog.csdn.net/nunchakushuang/article/details/74652877 http://portal.xiaoxiangzi.com/Programme/Python/7890.html https://www.zhihu.com/quest 阅读全文
posted @ 2018-05-09 18:38 Rocin 阅读(472) 评论(0) 推荐(0)