Adding a header method.

This is useful for making requests during testing.