tests/test-http-bad-server.t
changeset 48665 1e28c4209fff
parent 48664 009e86022a9d
child 48965 af0b21d5a930
equal deleted inserted replaced
48664:009e86022a9d 48665:1e28c4209fff
   128   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   128   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   129   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   129   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   130   readline(*) -> (*) host: localhost:$HGPORT\r\n (glob)
   130   readline(*) -> (*) host: localhost:$HGPORT\r\n (glob)
   131   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   131   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   132   readline(*) -> (2) \r\n (glob)
   132   readline(*) -> (2) \r\n (glob)
   133   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\n (py36 !)
   133   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py36 !)
   134   sendall(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !)
   134   sendall(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (py36 !)
   135   write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\n (py3 no-py36 !)
   135   write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py3 no-py36 !)
   136   write(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !)
   136   write(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (py3 no-py36 !)
   137   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   137   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   138   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   138   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   139   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   139   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   140   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   140   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   141   write(21) -> Content-Length: 431\r\n (no-py3 !)
   141   write(21) -> Content-Length: *\r\n (glob) (no-py3 !)
   142   write(2) -> \r\n (no-py3 !)
   142   write(2) -> \r\n (no-py3 !)
   143   write(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (no-py3 !)
   143   write(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (no-py3 !)
   144   readline(~) -> (26) GET /?cmd=batch HTTP/1.1\r\n (glob)
   144   readline(~) -> (26) GET /?cmd=batch HTTP/1.1\r\n (glob)
   145   readline(*) -> (1?) Accept-Encoding* (glob)
   145   readline(*) -> (1?) Accept-Encoding* (glob)
   146   read limit reached; closing socket
   146   read limit reached; closing socket
   147   readline(~) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   147   readline(~) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   148   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   148   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   177   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   177   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   178   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   178   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   179   readline(*) -> (*) host: localhost:$HGPORT\r\n (glob)
   179   readline(*) -> (*) host: localhost:$HGPORT\r\n (glob)
   180   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   180   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   181   readline(*) -> (2) \r\n (glob)
   181   readline(*) -> (2) \r\n (glob)
   182   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\n (py36 !)
   182   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py36 !)
   183   sendall(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !)
   183   sendall(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (py36 !)
   184   write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\n (py3 no-py36 !)
   184   write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py3 no-py36 !)
   185   write(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !)
   185   write(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (py3 no-py36 !)
   186   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   186   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   187   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   187   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   188   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   188   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   189   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   189   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   190   write(21) -> Content-Length: 431\r\n (no-py3 !)
   190   write(21) -> Content-Length: *\r\n (glob) (no-py3 !)
   191   write(2) -> \r\n (no-py3 !)
   191   write(2) -> \r\n (no-py3 !)
   192   write(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (no-py3 !)
   192   write(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (no-py3 !)
   193   readline(~) -> (26) GET /?cmd=batch HTTP/1.1\r\n (glob)
   193   readline(~) -> (26) GET /?cmd=batch HTTP/1.1\r\n (glob)
   194   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   194   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   195   readline(*) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob)
   195   readline(*) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob)
   196   readline(*) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n (glob)
   196   readline(*) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n (glob)
   197   readline(*) -> (1?) x-hgproto-1:* (glob)
   197   readline(*) -> (1?) x-hgproto-1:* (glob)
   247   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   247   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   248   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   248   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   249   readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
   249   readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
   250   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   250   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   251   readline(*) -> (2) \r\n (glob)
   251   readline(*) -> (2) \r\n (glob)
   252   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 444\r\n\r\n (py36 !)
   252   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py36 !)
   253   sendall(444) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx httppostargs known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !)
   253   sendall(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx httppostargs known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (py36 !)
   254   write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 444\r\n\r\n (py3 no-py36 !)
   254   write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py3 no-py36 !)
   255   write(444) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx httppostargs known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !)
   255   write(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx httppostargs known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (py3 no-py36 !)
   256   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   256   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   257   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   257   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   258   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   258   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   259   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   259   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   260   write(21) -> Content-Length: 444\r\n (no-py3 !)
   260   write(21) -> Content-Length: *\r\n (glob) (no-py3 !)
   261   write(2) -> \r\n (no-py3 !)
   261   write(2) -> \r\n (no-py3 !)
   262   write(444) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx httppostargs known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (no-py3 !)
   262   write(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx httppostargs known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (no-py3 !)
   263   readline(~) -> (27) POST /?cmd=batch HTTP/1.1\r\n (glob)
   263   readline(~) -> (27) POST /?cmd=batch HTTP/1.1\r\n (glob)
   264   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   264   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   265   readline(*) -> (41) content-type: application/mercurial-0.1\r\n (glob)
   265   readline(*) -> (41) content-type: application/mercurial-0.1\r\n (glob)
   266   readline(*) -> (33) vary: X-HgArgs-Post,X-HgProto-1\r\n (glob)
   266   readline(*) -> (33) vary: X-HgArgs-Post,X-HgProto-1\r\n (glob)
   267   readline(*) -> (19) x-hgargs-post: 28\r\n (glob)
   267   readline(*) -> (19) x-hgargs-post: 28\r\n (glob)
   316   write limit reached; closing socket
   316   write limit reached; closing socket
   317   $LOCALIP - - [$ERRDATE$] Exception happened during processing request '/?cmd=capabilities': (glob)
   317   $LOCALIP - - [$ERRDATE$] Exception happened during processing request '/?cmd=capabilities': (glob)
   318   Traceback (most recent call last):
   318   Traceback (most recent call last):
   319   Exception: connection closed after sending N bytes
   319   Exception: connection closed after sending N bytes
   320   
   320   
   321   write(286) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\nHTTP/1.1 500 Internal Server Error\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nTransfer-Encoding: chunked\r\n\r\n (py3 no-py36 !)
   321   write(286) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\nHTTP/1.1 500 Internal Server Error\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nTransfer-Encoding: chunked\r\n\r\n (glob) (py3 no-py36 !)
   322 
   322 
   323   $ rm -f error.log
   323   $ rm -f error.log
   324 
   324 
   325 Server sends an incomplete capabilities response body
   325 Server sends an incomplete capabilities response body
   326 -----------------------------------------------------
   326 -----------------------------------------------------
   329   > --config badserver.close-after-send-patterns='batch branchmap bund' \
   329   > --config badserver.close-after-send-patterns='batch branchmap bund' \
   330   > -p $HGPORT -d --pid-file=hg.pid -E error.log
   330   > -p $HGPORT -d --pid-file=hg.pid -E error.log
   331   $ cat hg.pid > $DAEMON_PIDS
   331   $ cat hg.pid > $DAEMON_PIDS
   332 
   332 
   333   $ hg clone http://localhost:$HGPORT/ clone
   333   $ hg clone http://localhost:$HGPORT/ clone
   334   abort: HTTP request error (incomplete response; expected 431 bytes got 20)
   334   abort: HTTP request error (incomplete response; expected * bytes got 20) (glob)
   335   (this may be an intermittent network failure; if the error persists, consider contacting the network or server operator)
   335   (this may be an intermittent network failure; if the error persists, consider contacting the network or server operator)
   336   [255]
   336   [255]
   337 
   337 
   338   $ killdaemons.py $DAEMON_PIDS
   338   $ killdaemons.py $DAEMON_PIDS
   339 
   339 
   342   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   342   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   343   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   343   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   344   readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
   344   readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
   345   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   345   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   346   readline(*) -> (2) \r\n (glob)
   346   readline(*) -> (2) \r\n (glob)
   347   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\n (py36 !)
   347   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py36 !)
   348   sendall(20 from 431) -> (0) batch branchmap bund (py36 !)
   348   sendall(20 from *) -> (0) batch branchmap bund (glob) (py36 !)
   349   write(160) -> (20) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\n (py3 no-py36 !)
   349   write(160) -> (20) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py3 no-py36 !)
   350   write(20 from 431) -> (0) batch branchmap bund (py3 no-py36 !)
   350   write(20 from *) -> (0) batch branchmap bund (glob) (py3 no-py36 !)
   351   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   351   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   352   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   352   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   353   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   353   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   354   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   354   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   355   write(21) -> Content-Length: 431\r\n (no-py3 !)
   355   write(21) -> Content-Length: *\r\n (glob) (no-py3 !)
   356   write(2) -> \r\n (no-py3 !)
   356   write(2) -> \r\n (no-py3 !)
   357   write(20 from 431) -> (0) batch branchmap bund (no-py3 !)
   357   write(20 from *) -> (0) batch branchmap bund (glob) (no-py3 !)
   358   write limit reached; closing socket
   358   write limit reached; closing socket
   359   $LOCALIP - - [$ERRDATE$] Exception happened during processing request '/?cmd=capabilities': (glob)
   359   $LOCALIP - - [$ERRDATE$] Exception happened during processing request '/?cmd=capabilities': (glob)
   360   Traceback (most recent call last):
   360   Traceback (most recent call last):
   361   Exception: connection closed after sending N bytes
   361   Exception: connection closed after sending N bytes
   362   
   362   
   388   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   388   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   389   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   389   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   390   readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
   390   readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
   391   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   391   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   392   readline(*) -> (2) \r\n (glob)
   392   readline(*) -> (2) \r\n (glob)
   393   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\n (py36 !)
   393   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py36 !)
   394   sendall(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !)
   394   sendall(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (py36 !)
   395   write(160) -> (568) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\n (py3 no-py36 !)
   395   write(160) -> (568) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py3 no-py36 !)
   396   write(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !)
   396   write(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (py3 no-py36 !)
   397   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   397   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   398   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   398   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   399   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   399   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   400   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   400   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   401   write(21) -> Content-Length: 431\r\n (no-py3 !)
   401   write(21) -> Content-Length: *\r\n (glob) (no-py3 !)
   402   write(2) -> \r\n (no-py3 !)
   402   write(2) -> \r\n (no-py3 !)
   403   write(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (no-py3 !)
   403   write(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (no-py3 !)
   404   readline(~) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   404   readline(~) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   405   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   405   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   406   readline(*) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob)
   406   readline(*) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob)
   407   readline(*) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n (glob)
   407   readline(*) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n (glob)
   408   readline(*) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n (glob)
   408   readline(*) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n (glob)
   449   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   449   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   450   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   450   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   451   readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
   451   readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
   452   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   452   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   453   readline(*) -> (2) \r\n (glob)
   453   readline(*) -> (2) \r\n (glob)
   454   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\n (py36 !)
   454   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py36 !)
   455   sendall(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !)
   455   sendall(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (py36 !)
   456   write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\n (py3 no-py36 !)
   456   write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py3 no-py36 !)
   457   write(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !)
   457   write(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (py3 no-py36 !)
   458   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   458   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   459   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   459   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   460   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   460   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   461   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   461   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   462   write(21) -> Content-Length: 431\r\n (no-py3 !)
   462   write(21) -> Content-Length: *\r\n (glob) (no-py3 !)
   463   write(2) -> \r\n (no-py3 !)
   463   write(2) -> \r\n (no-py3 !)
   464   write(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (no-py3 !)
   464   write(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (no-py3 !)
   465   readline(~) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   465   readline(~) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   466   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   466   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   467   readline(*) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob)
   467   readline(*) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob)
   468   readline(*) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n (glob)
   468   readline(*) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n (glob)
   469   readline(*) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n (glob)
   469   readline(*) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n (glob)
   516   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   516   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   517   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   517   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   518   readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
   518   readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
   519   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   519   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   520   readline(*) -> (2) \r\n (glob)
   520   readline(*) -> (2) \r\n (glob)
   521   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\n (py36 !)
   521   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py36 !)
   522   sendall(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !)
   522   sendall(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (py36 !)
   523   write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\n (py3 no-py36 !)
   523   write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py3 no-py36 !)
   524   write(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !)
   524   write(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (py3 no-py36 !)
   525   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   525   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   526   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   526   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   527   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   527   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   528   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   528   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   529   write(21) -> Content-Length: 431\r\n (no-py3 !)
   529   write(21) -> Content-Length: *\r\n (glob) (no-py3 !)
   530   write(2) -> \r\n (no-py3 !)
   530   write(2) -> \r\n (no-py3 !)
   531   write(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (no-py3 !)
   531   write(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (no-py3 !)
   532   readline(~) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   532   readline(~) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   533   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   533   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   534   readline(*) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob)
   534   readline(*) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob)
   535   readline(*) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n (glob)
   535   readline(*) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n (glob)
   536   readline(*) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n (glob)
   536   readline(*) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n (glob)
   632   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   632   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   633   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   633   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   634   readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
   634   readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
   635   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   635   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   636   readline(*) -> (2) \r\n (glob)
   636   readline(*) -> (2) \r\n (glob)
   637   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\n (py36 !)
   637   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py36 !)
   638   sendall(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !)
   638   sendall(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (py36 !)
   639   write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\n (py3 no-py36 !)
   639   write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py3 no-py36 !)
   640   write(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !)
   640   write(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (py3 no-py36 !)
   641   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   641   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   642   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   642   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   643   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   643   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   644   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   644   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   645   write(21) -> Content-Length: 431\r\n (no-py3 !)
   645   write(21) -> Content-Length: *\r\n (glob) (no-py3 !)
   646   write(2) -> \r\n (no-py3 !)
   646   write(2) -> \r\n (no-py3 !)
   647   write(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (no-py3 !)
   647   write(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (no-py3 !)
   648   readline(~) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   648   readline(~) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   649   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   649   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   650   readline(*) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob)
   650   readline(*) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob)
   651   readline(*) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n (glob)
   651   readline(*) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n (glob)
   652   readline(*) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n (glob)
   652   readline(*) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n (glob)
   712   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   712   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   713   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   713   readline(*) -> (35) accept: application/mercurial-0.1\r\n (glob)
   714   readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
   714   readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
   715   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   715   readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   716   readline(*) -> (2) \r\n (glob)
   716   readline(*) -> (2) \r\n (glob)
   717   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\n (py36 !)
   717   sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py36 !)
   718   sendall(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !)
   718   sendall(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (py36 !)
   719   write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 431\r\n\r\n (py3 no-py36 !)
   719   write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: *\r\n\r\n (glob) (py3 no-py36 !)
   720   write(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !)
   720   write(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (py3 no-py36 !)
   721   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   721   write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
   722   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   722   write(23) -> Server: badhttpserver\r\n (no-py3 !)
   723   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   723   write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
   724   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   724   write(41) -> Content-Type: application/mercurial-0.1\r\n (no-py3 !)
   725   write(21) -> Content-Length: 431\r\n (no-py3 !)
   725   write(21) -> Content-Length: *\r\n (glob) (no-py3 !)
   726   write(2) -> \r\n (no-py3 !)
   726   write(2) -> \r\n (no-py3 !)
   727   write(431) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (no-py3 !)
   727   write(*) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (no-py3 !)
   728   readline(~) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   728   readline(~) -> (26) GET /?cmd=batch HTTP/1.1\r\n
   729   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   729   readline(*) -> (27) Accept-Encoding: identity\r\n (glob)
   730   readline(*) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob)
   730   readline(*) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob)
   731   readline(*) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n (glob)
   731   readline(*) -> (41) x-hgarg-1: cmds=heads+%3Bknown+nodes%3D\r\n (glob)
   732   readline(*) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n (glob)
   732   readline(*) -> (61) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n (glob)