appell

appell

V2EX member #39527, joined on 2013-05-22 20:09:27 +08:00
Per appell's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
appell's recent replies
等天上的馅饼……
Mar 3, 2015
Replied to a topic by vjnjc Z shell [zsh] zshell 很卡啊,有么有同志点播一下
估计是某些插件引起的,可以考虑使用排除法。

我之前遇到的情景是在 macbook air 上的 oh-my-zsh 开启了 vi mode 插件后很卡。
网盘没有广告。
搭车问个问题:
在 CORS GET 时,我在 HTTP Headers 中添加了 Authorization 字段,GET 操作变成了先 OPTIONS,再 GET。
疑问是:Authorization 是 HTTP Headers 中有定义的字段,不是自己添加的类似 X-xx-xxx 的字段,为什么也需要先 OPTIONS?
CORS post 时要求 Content-Type 是
application/x-www-form-urlencoded
multipart/form-data
text/plain
之一时才会直接 post,而不需要先 option。
参考 MDN 文档: https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
我是来碰运气的 [email protected]
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1040 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 23:31 · PVG 07:31 · LAX 16:31 · JFK 19:31
♥ Do have faith in what you're doing.