e7f5afdbb8
The HTTP parser now recognized both HTTP/1.1 and HTTP/1.0 in request and response headers. The only difference between the handling of HTTP 1.1 and HTTP 1.0 is in the decection of persistent connections. For HTTP 1.1 persistent connections are the default and for HTTP 1.0 persistent connections are speficified throught the "Connection: Keep-Alive" header. Removed the getters and setters for keepAlive from all the interfaces. They are not of much use and persistent connection handling should be transparent. The HTTP client currently always sends requests using HTTP 1.1 and in the reare cases where one wants the connection to be closed after the request adding the header "Connection: close" should work. With this change using wget to get resources from the chat server. R=ajohnsen@google.com BUG= TEST= Review URL: https://chromiumcodereview.appspot.com//10008083 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6509 260f80e4-7a28-3924-810f-c04153c831b5