Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Web or HttpClient example?
Re: Web or HttpClient example? [message #31750 is a reply to message #8208] Thu, 24 March 2011 12:31 Go to previous messageGo to previous message
jibe is currently offline  jibe
Messages: 294
Registered: February 2007
Location: France
Experienced Member
Hi,

I'm not experienced on working with http... I used this exemple to get some XML results from ISBNdb and Worldcat APIs, and it's working well.

Now, I should like to get the html source code of some web page. But with httpcli, I get only this :
$./httpcli www.google.com
www.google.com
[error] OK (no error)
[status 200] HTTP/1.0 200 OK

[headers] (626 bytes)
Date: Thu, 24 Mar 2011 11:09:07 GMT[\r][\n]
Expires: -1[\r][\n]
Cache-Control: private, max-age=0[\r][\n]
Content-Type: text/html; charset=ISO-8859-1[\r][\n]
Set-Cookie: PREF=ID=acbb220690b61042:FF=0:TM=1300964947:LM=1300964947:S=dwbPpco5W2KSRXwI; expires=Sat, 23-Mar-2013 11:09:07 GMT; path=/; domain=.google.fr[\r][\n]
Set-Cookie: NID=45=xqvQ_JKFFBdZiWZTNBxxojL61-CE3dq-nwCvypqvVhNya4zlJE77YGz-ICGidH1g6BuXntMbD36obwUEnH4FwSNirQ98nQnr2TtrMdwmorr7dPmBXyCNzKYw9Y9kSfwP; expires=Fri, 23-Sep-2011 11:09:07 GMT; path=/; domain=.google.fr; HttpOnly[\r][\n]
Server: gws[\r][\n]
X-XSS-Protection: 1; mode=block[\r][\n]
X-Cache: MISS from orange.beeservices.dyndns.org[\r][\n]
Connection: close[\r][\n]
$

How can I get the source code of the page ?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Apps might need to be recompiled after libnotify update
Next Topic: XmlRpc Bugfixes
Goto Forum:
  


Current Time: Fri Apr 19 23:21:58 CEST 2024

Total time taken to generate the page: 0.03554 seconds