I'm studying the principles of a primitive browser.
I want to receive the source code of a webpage. I know little about this but i need to send some headers right?
I would like to do it by using some proxy i made up in my computer just to test.
Objective: Receive the source of a page "www.lol.com/page.html" for example, through localhost:8118 address
I cant find any good example of this, can you help me?