func Header(key, value string) RequestOption {
	return func(_ testing.TB, req *http.Request) {
		req.Header.Set(key, value)
	}
}
Header sets a header on the request.
package hat
import (
	"io"
	"io/ioutil"
	"net/http"
	"net/url"
	"path"
	"testing"
	"github.com/stretchr/testify/require"
)
type RequestOption func(t testing.TB, req *http.Request)