|
@@
-19,7
+19,9
b' Local:'
|
|
19
|
|
|
19
|
|
|
20
|
HTTP:
|
|
20
|
HTTP:
|
|
21
|
|
|
21
|
|
|
22
|
$ hg serve -R repo -p $HGPORT -d --pid-file=hg1.pid -E error.log -A access.log
|
|
22
|
$ hg serve -R repo -p $HGPORT -d --pid-file=hg1.pid \
|
|
|
|
|
23
|
> -E error.log -A access.log \
|
|
|
|
|
24
|
> --config experimental.httppostargs=yes
|
|
23
|
$ cat hg1.pid >> $DAEMON_PIDS
|
|
25
|
$ cat hg1.pid >> $DAEMON_PIDS
|
|
24
|
|
|
26
|
|
|
25
|
$ hg debugwireargs http://localhost:$HGPORT/ un deux trois quatre
|
|
27
|
$ hg debugwireargs http://localhost:$HGPORT/ un deux trois quatre
|
|
@@
-37,6
+39,61
b' HTTP:'
|
|
37
|
$ cat error.log
|
|
39
|
$ cat error.log
|
|
38
|
$ cat access.log
|
|
40
|
$ cat access.log
|
|
39
|
* - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
|
|
41
|
* - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
|
|
|
|
|
42
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:39 (glob)
|
|
|
|
|
43
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:39 (glob)
|
|
|
|
|
44
|
* - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
|
|
|
|
|
45
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:43 (glob)
|
|
|
|
|
46
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:43 (glob)
|
|
|
|
|
47
|
* - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
|
|
|
|
|
48
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:27 (glob)
|
|
|
|
|
49
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:27 (glob)
|
|
|
|
|
50
|
* - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
|
|
|
|
|
51
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:17 (glob)
|
|
|
|
|
52
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:17 (glob)
|
|
|
|
|
53
|
* - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
|
|
|
|
|
54
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:17 (glob)
|
|
|
|
|
55
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:17 (glob)
|
|
|
|
|
56
|
* - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
|
|
|
|
|
57
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:1033 (glob)
|
|
|
|
|
58
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:1033 (glob)
|
|
|
|
|
59
|
|
|
|
|
|
60
|
HTTP without args-in-POST:
|
|
|
|
|
61
|
$ hg serve -R repo -p $HGPORT1 -d --pid-file=hg1.pid -E error.log -A access.log
|
|
|
|
|
62
|
$ cat hg1.pid >> $DAEMON_PIDS
|
|
|
|
|
63
|
|
|
|
|
|
64
|
$ hg debugwireargs http://localhost:$HGPORT1/ un deux trois quatre
|
|
|
|
|
65
|
un deux trois quatre None
|
|
|
|
|
66
|
$ hg debugwireargs http://localhost:$HGPORT1/ \ un deux trois\ qu\ \ atre
|
|
|
|
|
67
|
un deux trois qu atre None
|
|
|
|
|
68
|
$ hg debugwireargs http://localhost:$HGPORT1/ eins zwei --four vier
|
|
|
|
|
69
|
eins zwei None vier None
|
|
|
|
|
70
|
$ hg debugwireargs http://localhost:$HGPORT1/ eins zwei
|
|
|
|
|
71
|
eins zwei None None None
|
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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx None
|
|
|
|
|
76
|
$ cat error.log
|
|
|
|
|
77
|
$ cat access.log
|
|
|
|
|
78
|
* - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
|
|
|
|
|
79
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:39 (glob)
|
|
|
|
|
80
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:39 (glob)
|
|
|
|
|
81
|
* - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
|
|
|
|
|
82
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:43 (glob)
|
|
|
|
|
83
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:43 (glob)
|
|
|
|
|
84
|
* - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
|
|
|
|
|
85
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:27 (glob)
|
|
|
|
|
86
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:27 (glob)
|
|
|
|
|
87
|
* - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
|
|
|
|
|
88
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:17 (glob)
|
|
|
|
|
89
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:17 (glob)
|
|
|
|
|
90
|
* - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
|
|
|
|
|
91
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:17 (glob)
|
|
|
|
|
92
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:17 (glob)
|
|
|
|
|
93
|
* - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
|
|
|
|
|
94
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:1033 (glob)
|
|
|
|
|
95
|
* - - [*] "POST /?cmd=debugwireargs HTTP/1.1" 200 - x-hgargs-post:1033 (glob)
|
|
|
|
|
96
|
* - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
|
|
40
|
* - - [*] "GET /?cmd=debugwireargs HTTP/1.1" 200 - x-hgarg-1:four=quatre&one=un&three=trois&two=deux (glob)
|
|
97
|
* - - [*] "GET /?cmd=debugwireargs HTTP/1.1" 200 - x-hgarg-1:four=quatre&one=un&three=trois&two=deux (glob)
|
|
41
|
* - - [*] "GET /?cmd=debugwireargs HTTP/1.1" 200 - x-hgarg-1:four=quatre&one=un&three=trois&two=deux (glob)
|
|
98
|
* - - [*] "GET /?cmd=debugwireargs HTTP/1.1" 200 - x-hgarg-1:four=quatre&one=un&three=trois&two=deux (glob)
|
|
42
|
* - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
|
|
99
|
* - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
|