http-status-code-505

cURL request giving me 505 http code.What to do

元气小坏坏 提交于 2019-12-13 04:39:58
问题 I was not getting the xml response which I was supposed to get when I excecuted the curl. But when curl getinfo, I'm getting the response code 505. $url='http://test/paynetz/epi/fts?login=160&pass=Test@123&ttype=NBFundTransfer&prodid=NSE&amt=50&txncurr=INR&txnscamt=0&clientcode=TkFWSU4%3d&txnid='.$string .'&date='.$date $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_HEADER, 0); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); curl_setopt($curl, CURLOPT

java.io.IOException: Server returns HTTP response code 505

99封情书 提交于 2019-11-29 01:18:14
I have HTML based queries in my code and one specific kind seems to give rise to IOExceptions upon receiving 505 response from the server. I have looked up the 505 response along with other people who seemed to have similar problems. Apparently 505 stands for HTTP version mismatch, but when I copy the same query URL to any browser (tried firefox, seamonkey and Opera) there seems to be no problem. One of the posts I read suggested that the browsers might automatically handle the version mismatch problem.. I have tried to dig in deeper by using the nice developer tool that comes with Opera, and

java.io.IOException: Server returns HTTP response code 505

帅比萌擦擦* 提交于 2019-11-27 15:48:14
问题 I have HTML based queries in my code and one specific kind seems to give rise to IOExceptions upon receiving 505 response from the server. I have looked up the 505 response along with other people who seemed to have similar problems. Apparently 505 stands for HTTP version mismatch, but when I copy the same query URL to any browser (tried firefox, seamonkey and Opera) there seems to be no problem. One of the posts I read suggested that the browsers might automatically handle the version