restsharp/RestSharp — pull request #345 by ewanmellor (2013-01-13 21:49:58+00:00)
Title: Fix memory leak around handling of Accepts header.

When adding an Accepts header to the request, this shouldn't be put into
DefaultParameters. Repeated requests through the same RestClient instance
were adding the Accepts header every time, resulting in a large memory
leak because DefaultParameters was growing without bound.

Instead, only add the header for this particular request.