warmcat/libwebsockets — pull request #143 by andrew-canaday (2014-07-08 03:33:41+00:00)
Title: Provide HTTP/<version> string via WSI_TOKEN_HTTP

Think this little change *ought* to do it. With this tweak, **lws_hdr_copy** for WSI_TOKEN_HTTP should yield HTTP/1.1 for 1.1 clients and an empty string for HTTP 1.0. Differentiating between the two (somehow) is necessary to support streaming HTTP protocols for some mobile clients which don't have websockets or HTTP 1.1.