Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当参数定义为“in”标头时,swagger-tools 通过“args”变量将其提供给控制器,但不会包含其他标头的键。
我的问题是:如何读取“参数”部分中未明确定义的标头键和值,例如“缓存控制”或“X-Requested-With”?
请求标头包含在:
res.socket.parser.incoming.headers