It's been five days since I first submitted this.  It would be nice to 
at least get a reply...  Is this being looked into?  I feel somewhat 
ignored.

On 8/19/2010 2:47 PM, Shadowcat wrote:
> Is there any news on this?  Answer to what I'm doing wrong?  Anything?
>
> On 8/17/2010 4:56 AM, Shadowcat wrote:
>    
>> Can you tell me what I'm doing wrong here?  My code looks something like
>> this:
>>
>>        #include<cxxtools/http/client.h>
>>        #include<iostream>
>>        #include<exception>
>>
>>        void http_request( )
>>        {
>>            string str;
>> cxxtools::http::Client client( "www.google.com", 80 );
>>            try
>>            {
>>                str = client.get( "/" );
>>                cout<<   str;
>>            }
>>            catch(const std::exception&e)
>>            {
>>                cout<<   e.what() );
>>            }
>>        }
>>
>> Every time I run the http_request() function, I get the exception "error
>> reading HTTP reply body."  I've tried setting the server to localhost,
>> getting files other than "/"... it always does the same thing.  If I
>> leave out the / in the beginning and do something like client.get(
>> "index.html" ), then it correctly reads the error file served by apache,
>> but I can never get it to read anything other than that error message.
>> Any idea what's wrong?
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev
>> _______________________________________________
>> Tntnet-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/tntnet-general
>>
>>      
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Tntnet-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tntnet-general
>    

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to