aboutsummaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'testdata')
-rw-r--r--testdata/apiTargetRunHTTP_withTargetHeaders_test.txt12
-rw-r--r--testdata/target_http_run_withrawbody_json_test.txt2
2 files changed, 7 insertions, 7 deletions
diff --git a/testdata/apiTargetRunHTTP_withTargetHeaders_test.txt b/testdata/apiTargetRunHTTP_withTargetHeaders_test.txt
index 8f78775..21f2537 100644
--- a/testdata/apiTargetRunHTTP_withTargetHeaders_test.txt
+++ b/testdata/apiTargetRunHTTP_withTargetHeaders_test.txt
@@ -28,7 +28,7 @@ Test data for running HTTP target with global headers.
<<< global:RunResponse.DumpRequest
GET /example?Param1=value+of+param1 HTTP/1.1
Host: 127.0.0.1:8217
-User-Agent: libhttp/0.54.0
+User-Agent: libhttp/0.55.0
Authorization: global-auth-value
Accept-Encoding: gzip
@@ -39,7 +39,7 @@ HTTP/1.1 200 OK
Content-Length: 275
Content-Type: application/json
-{"data":{"Method":"GET","URL":"/example?Param1=value+of+param1","Headers":{"Accept-Encoding":["gzip"],"Authorization":["global-auth-value"],"User-Agent":["libhttp/0.54.0"]},"Form":{"Param1":["value of param1"]},"MultipartForm":null,"Body":""},"message":"/example","code":200}
+{"data":{"Method":"GET","URL":"/example?Param1=value+of+param1","Headers":{"Accept-Encoding":["gzip"],"Authorization":["global-auth-value"],"User-Agent":["libhttp/0.55.0"]},"Form":{"Param1":["value of param1"]},"MultipartForm":null,"Body":""},"message":"/example","code":200}
<<< global:RunResponse.ResponseBody
{
@@ -54,7 +54,7 @@ Content-Type: application/json
"global-auth-value"
],
"User-Agent": [
- "libhttp/0.54.0"
+ "libhttp/0.55.0"
]
},
"Form": {
@@ -103,7 +103,7 @@ Content-Type: application/json
<<< override:RunResponse.DumpRequest
GET /example?Param1=value+of+param1 HTTP/1.1
Host: 127.0.0.1:8217
-User-Agent: libhttp/0.54.0
+User-Agent: libhttp/0.55.0
Authorization: local-auth-value
Accept-Encoding: gzip
@@ -114,7 +114,7 @@ HTTP/1.1 200 OK
Content-Length: 274
Content-Type: application/json
-{"data":{"Method":"GET","URL":"/example?Param1=value+of+param1","Headers":{"Accept-Encoding":["gzip"],"Authorization":["local-auth-value"],"User-Agent":["libhttp/0.54.0"]},"Form":{"Param1":["value of param1"]},"MultipartForm":null,"Body":""},"message":"/example","code":200}
+{"data":{"Method":"GET","URL":"/example?Param1=value+of+param1","Headers":{"Accept-Encoding":["gzip"],"Authorization":["local-auth-value"],"User-Agent":["libhttp/0.55.0"]},"Form":{"Param1":["value of param1"]},"MultipartForm":null,"Body":""},"message":"/example","code":200}
<<< override:RunResponse.ResponseBody
{
@@ -129,7 +129,7 @@ Content-Type: application/json
"local-auth-value"
],
"User-Agent": [
- "libhttp/0.54.0"
+ "libhttp/0.55.0"
]
},
"Form": {
diff --git a/testdata/target_http_run_withrawbody_json_test.txt b/testdata/target_http_run_withrawbody_json_test.txt
index 04f2fb9..66b4388 100644
--- a/testdata/target_http_run_withrawbody_json_test.txt
+++ b/testdata/target_http_run_withrawbody_json_test.txt
@@ -18,7 +18,7 @@ Test data for testing [HTTPTarget.WithRawBody].
<<< valid:RunResponse.DumpRequest
POST /example/rawbody/json HTTP/1.1
Host: 127.0.0.1:8217
-User-Agent: libhttp/0.54.0
+User-Agent: libhttp/0.55.0
Content-Length: 27
Content-Type: application/json
Accept-Encoding: gzip