Skip to content

Commit 1fe535e

Browse files
committed
Checking headers, variant that fails
1 parent 710af5a commit 1fe535e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package main
2+
3+
import "github.com/verdverm/frisby"
4+
5+
func main() {
6+
f := frisby.Create("Headers check").Get("http://httpbin.org/get")
7+
f.Send()
8+
f.ExpectStatus(200)
9+
f.ExpectHeader("Server", "apache")
10+
11+
frisby.Global.PrintReport()
12+
}

0 commit comments

Comments
 (0)