ant0ine/go-json-rest — pull request #67 by Quantisan (2014-05-05 21:01:07+00:00)
Title: add a test.MakeRequestWithHeader

I needed to test requests with basic auth thus needing `Authorization` key in request header. Current `MakeRequest` don't allow that. So I added it.

This adds a `MakeRequestWithHeader` func in `test/` that accepts a `map[string]string` and iterates through to add the key/val as header in a test request.