CURL -I 问题在包含“=”时停止响应

CURL -I 问题在包含“=”时停止响应

我执行了这个命令:

curl -I 'http://criminaljustice.state.ny.us/cgi/internet/nsor/fortecgi?serviceName=WebNSOR&templateName=detail.htm&requestingHandler=WebNSORDetailHandler&ID=368343543'

但卡住了

但如果我这样做:

curl -I 'http://criminaljustice.state.ny.us/cgi/internet/nsor/fortecgi'

HTTP/1.1 200 OK
Content-length: 207
Content-type: text/html
Server: Sun-ONE-Web-Server/6.1
Date: Sat, 15 Dec 2012 08:49:14 GMT
Via: 1.1 proxy-internet-revproxy
Proxy-agent: Oracle-iPlanet-Proxy-Server/4.0

然后我尝试缩短它:

curl -I 'http://criminaljustice.state.ny.us/cgi/internet/nsor/fortecgi?serviceName=WebNSOR&templateName=detail.htm'

也卡住了

我不知道为什么

好像如果 url 包含“=”,它就会停止响应

因此尝试了这个 url 删除“=”(serviceName=WebNSOR 到 serviceNameWebNSOR):

curl -I 'http://criminaljustice.state.ny.us/cgi/internet/nsor/fortecgi?serviceNameWebNSOR'

HTTP/1.1 200 OK
Content-length: 207
Content-type: text/html
Server: Sun-ONE-Web-Server/6.1
Date: Sat, 15 Dec 2012 08:50:38 GMT
Via: 1.1 proxy-internet-revproxy
Proxy-agent: Oracle-iPlanet-Proxy-Server/4.0

为什么我不能使用=?请帮助我

答案1

这不是=产生问题的,而是的?

您需要抑制如下?行为:

curl -I 'http://criminaljustice.state.ny.us/cgi/internet/nsor/fortecgi\?serviceName=WebNSOR&templateName=detail.htm'

相关内容