nahi/httpclient — Issue #76: Provide a way to set Date header
Author: electrum
Created: 2011-12-24 01:54:49+00:00
State: open

When executing requests, we need to set the Date header to a known value. For our use case, the value of the Date header is part of a cryptographic signature that is part of the request. Because HTTPClient always overrides the Date header with the current time, this causes request that are very close to the next second to fail.

I see two options here:

1. HTTPClient should not override the Date header if it is provided
2. Provide a way to tell HTTPClient what date to use for the Date header