为什么不应该wget获取500响应的响应内容? [英] Why shouldn't wget fetch the response content of a 500 response?
本文介绍了为什么不应该wget获取500响应的响应内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
此问题是 wget 中的HTTP 500错误的后续操作
This question is a follow-up of HTTP 500 error in wget
服务器错误 wget
将不会获取响应的内容,而 curl $
Upon server errors wget
will not fetch the content of the reponse, whereas curl
should be used for that purpose.
确实 curl
,或者
所以我真的很好奇,为了更好地理解为什么 wget
So I was indeed curious to better understand why wget
will not load the content anyway, with none of the lots of options it has: usually servers send an error explanation along, so why ignore it?
推荐答案
根据 http://savannah.gnu.org/ bugs /?27303#comment4 ,wget已经在开发版本中具有功能(下载错误页面)。
According to http://savannah.gnu.org/bugs/?27303#comment4, wget already has the feature (downloading error pages) in the development version.
这篇关于为什么不应该wget获取500响应的响应内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文