Login Register






C++ Web Browser filter_list
Author
Message
RE: C++ Web Browser #4
(12-18-2014, 06:02 AM)phyrrus9 Wrote: it's actually easy to make a web browser thats basic...

You just need to know the HTTP\0.9 spec

You would socket connect on port 80 to your site and send the following

Code:
HTTP\0.9 GET /\r\n \r\n \r\n

and read the response. It will include the header (delimited by \r\n\r\n) and then the entire index page

Why 0.9 and not the standard 1.1 or even 1.0?

And you have left out the part of actually parsing the webpage, loading other resources, etc. The part you mentioned is simple, but thats only a very small part of the web browser functionality.

Reply





Messages In This Thread
RE: C++ Web Browser - by phyrrus9 - 12-18-2014, 06:02 AM
RE: C++ Web Browser - by The Toilet Paper King - 12-18-2014, 10:44 AM
RE: C++ Web Browser - by dopamine - 12-18-2014, 11:11 AM
RE: C++ Web Browser - by The Toilet Paper King - 12-18-2014, 12:40 PM
RE: C++ Web Browser - by phyrrus9 - 12-18-2014, 12:54 PM
RE: C++ Web Browser - by The Toilet Paper King - 12-18-2014, 01:33 PM
RE: C++ Web Browser - by phyrrus9 - 12-18-2014, 01:38 PM