mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
Fix spelling and grammar of an HTTP (#6786)
- To decide whether to use an or a: https://www.merriam-webster.com/grammar/is-it-a-or-an - Spelling of HTTP: https://en.wikipedia.org/wiki/HTTP Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
"github.com/open-policy-agent/opa/logging"
|
||||
)
|
||||
|
||||
// DoRequestWithClient is a convenience function to get the body of a http response with
|
||||
// DoRequestWithClient is a convenience function to get the body of an HTTP response with
|
||||
// appropriate error-handling boilerplate and logging.
|
||||
func DoRequestWithClient(req *http.Request, client *http.Client, desc string, logger logging.Logger) ([]byte, error) {
|
||||
resp, err := client.Do(req)
|
||||
|
||||
Reference in New Issue
Block a user