CURL -I issue stop responding when contain "="

Posted by user1512778 on Super User See other posts from Super User or by user1512778
Published on 2012-12-15T08:54:55Z Indexed on 2012/12/15 17:07 UTC
Read the original article Hit count: 178

Filed under:
|

i did this command :

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

but stuck

but if i did this :

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

then i try shorten it :

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

stuck too

i dont know why

seems like if the url contain "=" it stop responding

so tried this url removing the "=" (serviceName=WebNSOR to 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

why i cant use = ? please assist me

© Super User or respective owner

Related posts about curl

Related posts about centos