func newRequest(method, path string, body io.Reader) (*http.Request, error) {
	return http.NewRequest(method, path, body)
}
newRequest creates an HTTP request.
package opensearchapi
import (
	"context"
	"io"
	"net/http"
)
const (
	headerContentType = "Content-Type"
)
var (
	headerContentTypeJSON = []string{"application/json"}
)
type Request interface {
	Do(ctx context.Context, transport Transport) (*Response, error)
}