wafredir/test.go

10 lines
320 B
Go

package main
// test accepts a slice of type Redirect and returns an error
// it performs actual HTTP GET requests on each source URL and validates that a redirect occurs
// to the destination URL and that the redirect type/status code is correct
func test(redirects []Redirect) error { //TBD: implement
return nil
}