Fossil SCM

fix json-cap-POSTenv-name, json-cap-POSTenv-notsetup tests

juef 2024-04-25 13:34 branch-2.24
Commit 17c01c549e73c6b8fd92189dee2cec4622dc2370df12125bd55d232710fb2dfc
1 file changed +1 -1
+1 -1
--- test/json.test
+++ test/json.test
@@ -107,11 +107,11 @@
107107
set request [subst {POST $url HTTP/1.0\r
108108
Host: localhost\r
109109
User-Agent: Fossil-Test\r
110110
Cookie: $cookie\r
111111
Content-Type: application/json
112
-Content-Length $len
112
+Content-Length: $len
113113
\r
114114
$data}]
115115
} else {
116116
set request [subst {GET $url HTTP/1.0\r
117117
Host: localhost\r
118118
--- test/json.test
+++ test/json.test
@@ -107,11 +107,11 @@
107 set request [subst {POST $url HTTP/1.0\r
108 Host: localhost\r
109 User-Agent: Fossil-Test\r
110 Cookie: $cookie\r
111 Content-Type: application/json
112 Content-Length $len
113 \r
114 $data}]
115 } else {
116 set request [subst {GET $url HTTP/1.0\r
117 Host: localhost\r
118
--- test/json.test
+++ test/json.test
@@ -107,11 +107,11 @@
107 set request [subst {POST $url HTTP/1.0\r
108 Host: localhost\r
109 User-Agent: Fossil-Test\r
110 Cookie: $cookie\r
111 Content-Type: application/json
112 Content-Length: $len
113 \r
114 $data}]
115 } else {
116 set request [subst {GET $url HTTP/1.0\r
117 Host: localhost\r
118

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button