重定向 浏览器不跳转

qufucl

在浏览器上显示

HTTP/1.1 302 Found Server: workerman Location: https://www.baidu.com/saiya/auth/544433385 Connection: keep-alive Content-Type: text/html;charset=utf-8 Content-Length: 0

浏览器不会跳转到这个链接上,是怎么回事呢?

截图

571 1 0
1个回答

keytehu

你把http都当内容输出了,webman重定向是 return redirect('网址');

年代过于久远,无法发表回答
🔝