diff options
| author | Shulhan <ms@kilabit.info> | 2024-03-09 05:04:37 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-03-14 23:51:34 +0700 |
| commit | 3ecf5e7b4844a565fce590ebb507f6e7cc98b798 (patch) | |
| tree | f46634592a854fe508a3de4d04b244c44fffc838 /lib/http/testdata | |
| parent | 8d9c5ff8958b6adcd01e86f9a48f256df388b9db (diff) | |
| download | pakakeh.go-3ecf5e7b4844a565fce590ebb507f6e7cc98b798.tar.xz | |
lib/http: add test for Server handleDelete
Diffstat (limited to 'lib/http/testdata')
| -rw-r--r-- | lib/http/testdata/handleDelete_test.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/http/testdata/handleDelete_test.txt b/lib/http/testdata/handleDelete_test.txt new file mode 100644 index 00000000..da170afc --- /dev/null +++ b/lib/http/testdata/handleDelete_test.txt @@ -0,0 +1,14 @@ +Test data for handleDelete in Server. + +<<< valid:request_body +DELETE /a/b/c/dddd/e HTTP/1.1 +Host: example.com + + + +<<< valid:response_body +HTTP/1.1 200 OK +Connection: close +Content-Type: text/plain; charset=utf-8 + +Request.Form=map[d:[dddd]] |
