##// END OF EJS Templates
stream-requirements: smoother matching in test-http-protocol.t...
marmoute -
r49497:c3239f2e default
parent child Browse files
Show More
@@ -198,7 +198,7 b' Test listkeys for listing namespaces'
198 s> Content-Type: application/mercurial-0.1\r\n
198 s> Content-Type: application/mercurial-0.1\r\n
199 s> Content-Length: *\r\n (glob)
199 s> Content-Length: *\r\n (glob)
200 s> \r\n
200 s> \r\n
201 s> batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
201 s> batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset compression=\$BUNDLE2_COMPRESSIONS\$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (re)
202 sending listkeys command
202 sending listkeys command
203 s> setsockopt(6, 1, 1) -> None (?)
203 s> setsockopt(6, 1, 1) -> None (?)
204 s> GET /?cmd=listkeys HTTP/1.1\r\n
204 s> GET /?cmd=listkeys HTTP/1.1\r\n
@@ -327,9 +327,9 b' Verify our HTTP 301 is served properly'
327 s> Server: testing stub value\r\n
327 s> Server: testing stub value\r\n
328 s> Date: $HTTP_DATE$\r\n
328 s> Date: $HTTP_DATE$\r\n
329 s> Content-Type: application/mercurial-0.1\r\n
329 s> Content-Type: application/mercurial-0.1\r\n
330 s> Content-Length: 484\r\n
330 s> Content-Length: \d+\\r\\n (re)
331 s> \r\n
331 s> \r\n
332 s> batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
332 s> batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset compression=\$BUNDLE2_COMPRESSIONS\$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (re)
333
333
334 Test with the HTTP peer
334 Test with the HTTP peer
335
335
@@ -364,10 +364,10 b' Test with the HTTP peer'
364 s> Server: testing stub value\r\n
364 s> Server: testing stub value\r\n
365 s> Date: $HTTP_DATE$\r\n
365 s> Date: $HTTP_DATE$\r\n
366 s> Content-Type: application/mercurial-0.1\r\n
366 s> Content-Type: application/mercurial-0.1\r\n
367 s> Content-Length: 484\r\n
367 s> Content-Length: \d+\\r\\n (re)
368 s> \r\n
368 s> \r\n
369 real URL is http://$LOCALIP:$HGPORT/redirected (glob)
369 real URL is http://$LOCALIP:$HGPORT/redirected (glob)
370 s> batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
370 s> batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset compression=\$BUNDLE2_COMPRESSIONS\$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (re)
371 sending heads command
371 sending heads command
372 s> setsockopt(6, 1, 1) -> None (?)
372 s> setsockopt(6, 1, 1) -> None (?)
373 s> GET /redirected?cmd=heads HTTP/1.1\r\n
373 s> GET /redirected?cmd=heads HTTP/1.1\r\n
@@ -635,10 +635,10 b' Now test a variation where we strip the '
635 s> Server: testing stub value\r\n
635 s> Server: testing stub value\r\n
636 s> Date: $HTTP_DATE$\r\n
636 s> Date: $HTTP_DATE$\r\n
637 s> Content-Type: application/mercurial-0.1\r\n
637 s> Content-Type: application/mercurial-0.1\r\n
638 s> Content-Length: 484\r\n
638 s> Content-Length: \d+\\r\\n (re)
639 s> \r\n
639 s> \r\n
640 real URL is http://$LOCALIP:$HGPORT/redirected (glob)
640 real URL is http://$LOCALIP:$HGPORT/redirected (glob)
641 s> batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
641 s> batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset compression=\$BUNDLE2_COMPRESSIONS\$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (re)
642 sending heads command
642 sending heads command
643 s> setsockopt(6, 1, 1) -> None (?)
643 s> setsockopt(6, 1, 1) -> None (?)
644 s> GET /redirected?cmd=heads HTTP/1.1\r\n
644 s> GET /redirected?cmd=heads HTTP/1.1\r\n
General Comments 0
You need to be logged in to leave comments. Login now