Show More
@@ -18,6 +18,7 b' HTTP v2 protocol not enabled by default' | |||||
18 | > user-agent: test |
|
18 | > user-agent: test | |
19 | > EOF |
|
19 | > EOF | |
20 | using raw connection to peer |
|
20 | using raw connection to peer | |
|
21 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
21 | s> GET /api/exp-http-v2-0003 HTTP/1.1\r\n |
|
22 | s> GET /api/exp-http-v2-0003 HTTP/1.1\r\n | |
22 | s> Accept-Encoding: identity\r\n |
|
23 | s> Accept-Encoding: identity\r\n | |
23 | s> user-agent: test\r\n |
|
24 | s> user-agent: test\r\n | |
@@ -46,6 +47,7 b' Request to unknown command yields 404' | |||||
46 | > user-agent: test |
|
47 | > user-agent: test | |
47 | > EOF |
|
48 | > EOF | |
48 | using raw connection to peer |
|
49 | using raw connection to peer | |
|
50 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
49 | s> POST /api/exp-http-v2-0003/ro/badcommand HTTP/1.1\r\n |
|
51 | s> POST /api/exp-http-v2-0003/ro/badcommand HTTP/1.1\r\n | |
50 | s> Accept-Encoding: identity\r\n |
|
52 | s> Accept-Encoding: identity\r\n | |
51 | s> user-agent: test\r\n |
|
53 | s> user-agent: test\r\n | |
@@ -67,6 +69,7 b' GET to read-only command yields a 405' | |||||
67 | > user-agent: test |
|
69 | > user-agent: test | |
68 | > EOF |
|
70 | > EOF | |
69 | using raw connection to peer |
|
71 | using raw connection to peer | |
|
72 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
70 | s> GET /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n |
|
73 | s> GET /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n | |
71 | s> Accept-Encoding: identity\r\n |
|
74 | s> Accept-Encoding: identity\r\n | |
72 | s> user-agent: test\r\n |
|
75 | s> user-agent: test\r\n | |
@@ -88,6 +91,7 b' Missing Accept header results in 406' | |||||
88 | > user-agent: test |
|
91 | > user-agent: test | |
89 | > EOF |
|
92 | > EOF | |
90 | using raw connection to peer |
|
93 | using raw connection to peer | |
|
94 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
91 | s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n |
|
95 | s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n | |
92 | s> Accept-Encoding: identity\r\n |
|
96 | s> Accept-Encoding: identity\r\n | |
93 | s> user-agent: test\r\n |
|
97 | s> user-agent: test\r\n | |
@@ -110,6 +114,7 b' Bad Accept header results in 406' | |||||
110 | > user-agent: test |
|
114 | > user-agent: test | |
111 | > EOF |
|
115 | > EOF | |
112 | using raw connection to peer |
|
116 | using raw connection to peer | |
|
117 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
113 | s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n |
|
118 | s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n | |
114 | s> Accept-Encoding: identity\r\n |
|
119 | s> Accept-Encoding: identity\r\n | |
115 | s> accept: invalid\r\n |
|
120 | s> accept: invalid\r\n | |
@@ -134,6 +139,7 b' Bad Content-Type header results in 415' | |||||
134 | > content-type: badmedia |
|
139 | > content-type: badmedia | |
135 | > EOF |
|
140 | > EOF | |
136 | using raw connection to peer |
|
141 | using raw connection to peer | |
|
142 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
137 | s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n |
|
143 | s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n | |
138 | s> Accept-Encoding: identity\r\n |
|
144 | s> Accept-Encoding: identity\r\n | |
139 | s> accept: application/mercurial-exp-framing-0006\r\n |
|
145 | s> accept: application/mercurial-exp-framing-0006\r\n | |
@@ -160,6 +166,7 b' Request to read-only command works out o' | |||||
160 | > frame 1 1 stream-begin command-request new cbor:{b'name': b'customreadonly'} |
|
166 | > frame 1 1 stream-begin command-request new cbor:{b'name': b'customreadonly'} | |
161 | > EOF |
|
167 | > EOF | |
162 | using raw connection to peer |
|
168 | using raw connection to peer | |
|
169 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
163 | s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n |
|
170 | s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n | |
164 | s> Accept-Encoding: identity\r\n |
|
171 | s> Accept-Encoding: identity\r\n | |
165 | s> *\r\n (glob) |
|
172 | s> *\r\n (glob) | |
@@ -196,6 +203,7 b' Request to read-only command works out o' | |||||
196 | > EOF |
|
203 | > EOF | |
197 | creating http peer for wire protocol version 2 |
|
204 | creating http peer for wire protocol version 2 | |
198 | sending customreadonly command |
|
205 | sending customreadonly command | |
|
206 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
199 | s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n |
|
207 | s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n | |
200 | s> Accept-Encoding: identity\r\n |
|
208 | s> Accept-Encoding: identity\r\n | |
201 | s> accept: application/mercurial-exp-framing-0006\r\n |
|
209 | s> accept: application/mercurial-exp-framing-0006\r\n | |
@@ -243,6 +251,7 b' GET to read-write request yields 405' | |||||
243 | > user-agent: test |
|
251 | > user-agent: test | |
244 | > EOF |
|
252 | > EOF | |
245 | using raw connection to peer |
|
253 | using raw connection to peer | |
|
254 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
246 | s> GET /api/exp-http-v2-0003/rw/customreadonly HTTP/1.1\r\n |
|
255 | s> GET /api/exp-http-v2-0003/rw/customreadonly HTTP/1.1\r\n | |
247 | s> Accept-Encoding: identity\r\n |
|
256 | s> Accept-Encoding: identity\r\n | |
248 | s> user-agent: test\r\n |
|
257 | s> user-agent: test\r\n | |
@@ -264,6 +273,7 b' Even for unknown commands' | |||||
264 | > user-agent: test |
|
273 | > user-agent: test | |
265 | > EOF |
|
274 | > EOF | |
266 | using raw connection to peer |
|
275 | using raw connection to peer | |
|
276 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
267 | s> GET /api/exp-http-v2-0003/rw/badcommand HTTP/1.1\r\n |
|
277 | s> GET /api/exp-http-v2-0003/rw/badcommand HTTP/1.1\r\n | |
268 | s> Accept-Encoding: identity\r\n |
|
278 | s> Accept-Encoding: identity\r\n | |
269 | s> user-agent: test\r\n |
|
279 | s> user-agent: test\r\n | |
@@ -285,6 +295,7 b' SSL required by default' | |||||
285 | > user-agent: test |
|
295 | > user-agent: test | |
286 | > EOF |
|
296 | > EOF | |
287 | using raw connection to peer |
|
297 | using raw connection to peer | |
|
298 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
288 | s> POST /api/exp-http-v2-0003/rw/customreadonly HTTP/1.1\r\n |
|
299 | s> POST /api/exp-http-v2-0003/rw/customreadonly HTTP/1.1\r\n | |
289 | s> Accept-Encoding: identity\r\n |
|
300 | s> Accept-Encoding: identity\r\n | |
290 | s> user-agent: test\r\n |
|
301 | s> user-agent: test\r\n | |
@@ -323,6 +334,7 b' Authorized request for valid read-write ' | |||||
323 | > frame 1 1 stream-begin command-request new cbor:{b'name': b'customreadonly'} |
|
334 | > frame 1 1 stream-begin command-request new cbor:{b'name': b'customreadonly'} | |
324 | > EOF |
|
335 | > EOF | |
325 | using raw connection to peer |
|
336 | using raw connection to peer | |
|
337 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
326 | s> POST /api/exp-http-v2-0003/rw/customreadonly HTTP/1.1\r\n |
|
338 | s> POST /api/exp-http-v2-0003/rw/customreadonly HTTP/1.1\r\n | |
327 | s> Accept-Encoding: identity\r\n |
|
339 | s> Accept-Encoding: identity\r\n | |
328 | s> accept: application/mercurial-exp-framing-0006\r\n |
|
340 | s> accept: application/mercurial-exp-framing-0006\r\n | |
@@ -362,6 +374,7 b' Authorized request for unknown command i' | |||||
362 | > accept: $MEDIATYPE |
|
374 | > accept: $MEDIATYPE | |
363 | > EOF |
|
375 | > EOF | |
364 | using raw connection to peer |
|
376 | using raw connection to peer | |
|
377 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
365 | s> POST /api/exp-http-v2-0003/rw/badcommand HTTP/1.1\r\n |
|
378 | s> POST /api/exp-http-v2-0003/rw/badcommand HTTP/1.1\r\n | |
366 | s> Accept-Encoding: identity\r\n |
|
379 | s> Accept-Encoding: identity\r\n | |
367 | s> accept: application/mercurial-exp-framing-0006\r\n |
|
380 | s> accept: application/mercurial-exp-framing-0006\r\n | |
@@ -384,6 +397,7 b" debugreflect isn't enabled by default" | |||||
384 | > user-agent: test |
|
397 | > user-agent: test | |
385 | > EOF |
|
398 | > EOF | |
386 | using raw connection to peer |
|
399 | using raw connection to peer | |
|
400 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
387 | s> POST /api/exp-http-v2-0003/ro/debugreflect HTTP/1.1\r\n |
|
401 | s> POST /api/exp-http-v2-0003/ro/debugreflect HTTP/1.1\r\n | |
388 | s> Accept-Encoding: identity\r\n |
|
402 | s> Accept-Encoding: identity\r\n | |
389 | s> user-agent: test\r\n |
|
403 | s> user-agent: test\r\n | |
@@ -424,6 +438,7 b' Command frames can be reflected via debu' | |||||
424 | > frame 1 1 stream-begin command-request new cbor:{b'name': b'command1', b'args': {b'foo': b'val1', b'bar1': b'val'}} |
|
438 | > frame 1 1 stream-begin command-request new cbor:{b'name': b'command1', b'args': {b'foo': b'val1', b'bar1': b'val'}} | |
425 | > EOF |
|
439 | > EOF | |
426 | using raw connection to peer |
|
440 | using raw connection to peer | |
|
441 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
427 | s> POST /api/exp-http-v2-0003/ro/debugreflect HTTP/1.1\r\n |
|
442 | s> POST /api/exp-http-v2-0003/ro/debugreflect HTTP/1.1\r\n | |
428 | s> Accept-Encoding: identity\r\n |
|
443 | s> Accept-Encoding: identity\r\n | |
429 | s> accept: application/mercurial-exp-framing-0006\r\n |
|
444 | s> accept: application/mercurial-exp-framing-0006\r\n | |
@@ -455,6 +470,7 b' Multiple requests to regular command URL' | |||||
455 | > frame 1 1 stream-begin command-request new cbor:{b'name': b'customreadonly'} |
|
470 | > frame 1 1 stream-begin command-request new cbor:{b'name': b'customreadonly'} | |
456 | > EOF |
|
471 | > EOF | |
457 | using raw connection to peer |
|
472 | using raw connection to peer | |
|
473 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
458 | s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n |
|
474 | s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n | |
459 | s> Accept-Encoding: identity\r\n |
|
475 | s> Accept-Encoding: identity\r\n | |
460 | s> accept: application/mercurial-exp-framing-0006\r\n |
|
476 | s> accept: application/mercurial-exp-framing-0006\r\n | |
@@ -497,6 +513,7 b' Multiple requests to "multirequest" URL ' | |||||
497 | > frame 3 1 0 command-request new cbor:{b'name': b'customreadonly'} |
|
513 | > frame 3 1 0 command-request new cbor:{b'name': b'customreadonly'} | |
498 | > EOF |
|
514 | > EOF | |
499 | using raw connection to peer |
|
515 | using raw connection to peer | |
|
516 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
500 | s> POST /api/exp-http-v2-0003/ro/multirequest HTTP/1.1\r\n |
|
517 | s> POST /api/exp-http-v2-0003/ro/multirequest HTTP/1.1\r\n | |
501 | s> Accept-Encoding: identity\r\n |
|
518 | s> Accept-Encoding: identity\r\n | |
502 | s> *\r\n (glob) |
|
519 | s> *\r\n (glob) | |
@@ -550,6 +567,7 b' Interleaved requests to "multirequest" a' | |||||
550 | > frame 1 1 0 command-request continuation IbookmarksDnameHlistkeys |
|
567 | > frame 1 1 0 command-request continuation IbookmarksDnameHlistkeys | |
551 | > EOF |
|
568 | > EOF | |
552 | using raw connection to peer |
|
569 | using raw connection to peer | |
|
570 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
553 | s> POST /api/exp-http-v2-0003/ro/multirequest HTTP/1.1\r\n |
|
571 | s> POST /api/exp-http-v2-0003/ro/multirequest HTTP/1.1\r\n | |
554 | s> Accept-Encoding: identity\r\n |
|
572 | s> Accept-Encoding: identity\r\n | |
555 | s> accept: application/mercurial-exp-framing-0006\r\n |
|
573 | s> accept: application/mercurial-exp-framing-0006\r\n | |
@@ -615,6 +633,7 b' Attempting to run a read-write command v' | |||||
615 | > frame 1 1 stream-begin command-request new cbor:{b'name': b'pushkey'} |
|
633 | > frame 1 1 stream-begin command-request new cbor:{b'name': b'pushkey'} | |
616 | > EOF |
|
634 | > EOF | |
617 | using raw connection to peer |
|
635 | using raw connection to peer | |
|
636 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
618 | s> POST /api/exp-http-v2-0003/ro/multirequest HTTP/1.1\r\n |
|
637 | s> POST /api/exp-http-v2-0003/ro/multirequest HTTP/1.1\r\n | |
619 | s> Accept-Encoding: identity\r\n |
|
638 | s> Accept-Encoding: identity\r\n | |
620 | s> accept: application/mercurial-exp-framing-0006\r\n |
|
639 | s> accept: application/mercurial-exp-framing-0006\r\n | |
@@ -641,6 +660,7 b' Defining an invalid content encoding res' | |||||
641 | creating http peer for wire protocol version 2 |
|
660 | creating http peer for wire protocol version 2 | |
642 | sending heads command |
|
661 | sending heads command | |
643 | wire protocol version 2 encoder referenced in config (badencoder) is not known; ignoring |
|
662 | wire protocol version 2 encoder referenced in config (badencoder) is not known; ignoring | |
|
663 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
644 | s> POST /api/exp-http-v2-0003/ro/heads HTTP/1.1\r\n |
|
664 | s> POST /api/exp-http-v2-0003/ro/heads HTTP/1.1\r\n | |
645 | s> Accept-Encoding: identity\r\n |
|
665 | s> Accept-Encoding: identity\r\n | |
646 | s> accept: application/mercurial-exp-framing-0006\r\n |
|
666 | s> accept: application/mercurial-exp-framing-0006\r\n | |
@@ -686,6 +706,7 b' Defining an invalid content encoding res' | |||||
686 | > EOF |
|
706 | > EOF | |
687 | creating http peer for wire protocol version 2 |
|
707 | creating http peer for wire protocol version 2 | |
688 | sending heads command |
|
708 | sending heads command | |
|
709 | s> setsockopt(6, 1, 1) -> None (py3 !) | |||
689 | s> POST /api/exp-http-v2-0003/ro/heads HTTP/1.1\r\n |
|
710 | s> POST /api/exp-http-v2-0003/ro/heads HTTP/1.1\r\n | |
690 | s> Accept-Encoding: identity\r\n |
|
711 | s> Accept-Encoding: identity\r\n | |
691 | s> accept: application/mercurial-exp-framing-0006\r\n |
|
712 | s> accept: application/mercurial-exp-framing-0006\r\n |
General Comments 0
You need to be logged in to leave comments.
Login now