fix: Connection and Content-Type not found in postman-echo headers

Change-Id: Ieae673e12c7baabe231d7f3509bba18624d80431
This commit is contained in:
buyuxiang
2022-02-14 16:06:34 +08:00
parent ef5f071dbc
commit b1fdd4be71
5 changed files with 5 additions and 22 deletions

View File

@@ -12,8 +12,6 @@ var (
WithCookies(map[string]string{"user": "debugtalk"}).
Validate().
AssertEqual("status_code", 200, "check status code").
AssertEqual("headers.Connection", "keep-alive", "check header Connection").
AssertEqual("headers.\"Content-Type\"", "application/json; charset=utf-8", "check header Content-Type").
AssertEqual("body.args.foo1", "bar1", "check param foo1").
AssertEqual("body.args.foo2", "bar2", "check param foo2")
stepPOSTData = NewStep("post form data").