shuber/curl — pull request #6 by hugochinchilla (2011-12-20 11:23:40+00:00)
Title: Remove all headers from response when multiple headers are received

When a request is completed following a redirect, the curl response contains the headers from the first and the second requests. In this case not all the headers are removed, only the last one is stripped from the response, resulting in a body containing the other headers.

This pull request fixes this.