Good afternoon people.
Im currently working on very simple web-browser. After I connect to a webserver I send a command requesting a html-file, this looks like this : 'GET /filename HTTP 1.1 \r\n\r\n". The problem is that this command only works on some webserver and on others I get error 400 Bad request in return. What am I doing wrong, am I missing some obvious parameters or is there anther way ? Have not been able to figure out which web servers work and which dont.
Thanks for any help.