为了在控制台中以十六进制转储的形式查看带有头和正文的完整HTTP请求和响应,我们需要在application.properties中设置什么日志级别才能从反应堆 - netty中看到?
logging.level.reactor.netty=trace
仅显示HTTP响应标头。
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 248
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1 ; mode=block
Referrer-Policy: no-referrer