This loses a bit of detailed copyright information (it's now squashed into one place in the LICENSE file) but it's reproducible from version control history if absolutely necessary, and it makes keeping the headers up to date much more feasible.
rather than implicitly importing the same source. Add dependencies. Fixes build problems with previous commit.
Fixes issue 4. Also properly deprecate libUA. Also export the version of the HTTP package so that client packages can include it in their user agent string, e.g. "cabal-install/0.10.2 (HTTP 4000.1.2)". Also added documentation.
It should be using hex encoding, not raw bytes.
That is, do not treat it as a redirect, just return the response. This code is returned by servers in response to conditional GET/PUT requests. Such conditional requests are essential for proper client-side caching.