Hi,

On Wed, Nov 16, 2011 at 7:54 AM, Girish Venkatachalam
<[email protected]> wrote:
>
> #define HTTP_GET_CMD "GET /%s HTTP 1.1\r\n\r\n"
>

       Not nitpicking, but I guess that's an RFC violation ;) HTTP 1.1
says Host header is mandatory. From RFC 2616, :

"A client MUST include a Host header field in all HTTP/1.1 request messages ."

And nice initiative. People on the list, new to socket programming can
possibly start with this. Thanks

-- 
Thank you
Balachandran Sivakumar

Arise Awake and stop not till the goal is reached.
                                                             - Swami Vivekananda

Mail: [email protected]
Blog: http://benignbala.wordpress.com/
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to