diff options
| author | Shulhan <ms@kilabit.info> | 2024-03-05 16:36:32 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-03-05 18:15:35 +0700 |
| commit | cb9e9ecf8466386621954acdafc460ecd0c3f82f (patch) | |
| tree | 56cbe9ee19c93b2eed89247fad735ced6aa494e7 /testdata | |
| parent | 20e45fe125803bc7fd0fd079f30bf4c099c8320a (diff) | |
| download | gorankusu-cb9e9ecf8466386621954acdafc460ecd0c3f82f.tar.xz | |
all: replace module "share" with "pakakeh.go"
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/apiTargetRunHTTP_withTargetHeaders_test.txt | 12 | ||||
| -rw-r--r-- | testdata/target_http_run_withrawbody_json_test.txt | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/testdata/apiTargetRunHTTP_withTargetHeaders_test.txt b/testdata/apiTargetRunHTTP_withTargetHeaders_test.txt index 83b8618..57fe246 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.53.0 +User-Agent: libhttp/0.54.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.53.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.54.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.53.0" + "libhttp/0.54.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.53.0 +User-Agent: libhttp/0.54.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.53.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.54.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.53.0" + "libhttp/0.54.0" ] }, "Form": { diff --git a/testdata/target_http_run_withrawbody_json_test.txt b/testdata/target_http_run_withrawbody_json_test.txt index 4666b0e..9c23ba2 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.53.0 +User-Agent: libhttp/0.54.0 Content-Length: 27 Content-Type: application/json Accept-Encoding: gzip |
