Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Properly respond to HTTP HEAD requests during end(body) hot path #1291

Closed
wants to merge 5 commits into from

Commits on Jul 8, 2011

  1. Properly respond to HEAD during end(body) hot path

    During write(), _hasBody is checked to make sure a body
    is allowed -- this is now also checked during end(body)
    when write() isn't used.
    reid committed Jul 8, 2011
    Configuration menu
    Copy the full SHA
    95a6f40 View commit details
    Browse the repository at this point in the history
  2. Correct quote style.

    reid committed Jul 8, 2011
    Configuration menu
    Copy the full SHA
    4a0a8c6 View commit details
    Browse the repository at this point in the history
  3. Correct quote style for test.

    reid committed Jul 8, 2011
    Configuration menu
    Copy the full SHA
    776c25c View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2011

  1. Concise final chunk for HEAD req's res.end(data).

    Instead of simply clearing data, check _hasBody
    earlier to avoid sending cruft when chunkedEncoding
    is used.
    reid committed Jul 11, 2011
    Configuration menu
    Copy the full SHA
    f7d7132 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d8617f5 View commit details
    Browse the repository at this point in the history