You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "MohanKumar (JIRA)" <ji...@apache.org> on 2009/02/18 14:49:01 UTC

[jira] Created: (HTTPCLIENT-825) HttpStatus code is 0

HttpStatus code is 0
--------------------

                 Key: HTTPCLIENT-825
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-825
             Project: HttpComponents HttpClient
          Issue Type: Question
          Components: HttpClient
         Environment: windows
            Reporter: MohanKumar


We are using the HttpClient package to login through siteminder and hit couple of usrl to check if the return status code is 200 or 500 or 404 etc. Based on the status, we will be able to figure out the web server status. I was getting a status code of 0 some times though the web servers are up and running. Please help me to understand what this status code 0 means and when this is being returned. This was leading to confusion and not able to understand the status of the web servers.

Thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[jira] Resolved: (HTTPCLIENT-825) HttpStatus code is 0

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-825.
------------------------------------------

    Resolution: Invalid

0 is not a valid HTTP status code. The server side service / CGI script is most likely broken.

Please post your questions to the user list. JIRA is for reporting bugs

Oleg

> HttpStatus code is 0
> --------------------
>
>                 Key: HTTPCLIENT-825
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-825
>             Project: HttpComponents HttpClient
>          Issue Type: Question
>          Components: HttpClient
>         Environment: windows
>            Reporter: MohanKumar
>
> We are using the HttpClient package to login through siteminder and hit couple of usrl to check if the return status code is 200 or 500 or 404 etc. Based on the status, we will be able to figure out the web server status. I was getting a status code of 0 some times though the web servers are up and running. Please help me to understand what this status code 0 means and when this is being returned. This was leading to confusion and not able to understand the status of the web servers.
> Thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org