Documentation ¶
Overview ¶
Package httphelper provides simple wrappers for working with HTTP.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FQDN ¶
FQDN returns the fully-qualified domain name (or localhost if lookup according to the hostname fails).
func Forward ¶
func Forward(ctx context.Context, host, trimPrefix string, w http.ResponseWriter, r *http.Request) error
Forward forwards r to host and writes the response from host to w.
func SetDefaultResponseHeaders ¶
SetDefaultResponseHeaders sets headers that appear in all WebDriver responses.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.