Response object for HTTP Upgrade/CONNECT #3036

wants to merge 3 commits into
Commits on Aug 6, 2013
  1. @stephank @stephank

    http: failing test for pipelined upgrade

    stephank committed with stephank Mar 29, 2012
    There are no known real world clients that actually send an upgrade
    request pipelined after a regular request. Nonetheless, this tests
    conformance to the standard.
  2. @stephank @stephank

    http: upgrade/connect with response object

    stephank committed with stephank Jun 25, 2013
    Introduces `switchProtocols()` on the response, which is an alternate
    `end()` for responses that hijack the socket.
    The common part for building a ServerResponse, shared with regular
    requests, is extracted to a `createResponse()` function.
  3. @stephank

    http: update documentation

    stephank committed Dec 28, 2012