Mercurial > hg
comparison tests/test-http-protocol.t @ 39447:5f4a9ada5ab5
wireprotoserver: use our CBOR encoder
Moving away from the vendored package.
Again, our encoder normalizes keys differently from the vendored
package (for now), hence the test changes.
Differential Revision: https://phab.mercurial-scm.org/D4467
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Tue, 28 Aug 2018 18:05:48 -0700 |
parents | 0f549da54379 |
children | 07b58266bce3 |
comparison
equal
deleted
inserted
replaced
39446:36f487a332ad | 39447:5f4a9ada5ab5 |
---|---|
311 s> Server: testing stub value\r\n | 311 s> Server: testing stub value\r\n |
312 s> Date: $HTTP_DATE$\r\n | 312 s> Date: $HTTP_DATE$\r\n |
313 s> Content-Type: application/mercurial-cbor\r\n | 313 s> Content-Type: application/mercurial-cbor\r\n |
314 s> Content-Length: *\r\n (glob) | 314 s> Content-Length: *\r\n (glob) |
315 s> \r\n | 315 s> \r\n |
316 s> \xa3Dapis\xa1Pexp-http-v2-0001\xa4Hcommands\xa7Eheads\xa2Dargs\xa1Jpubliconly\xf4Kpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\x81HdeadbeefKpermissions\x81DpullFlookup\xa2Dargs\xa1CkeyCfooKpermissions\x81DpullGpushkey\xa2Dargs\xa4CkeyCkeyCnewCnewColdColdInamespaceBnsKpermissions\x81DpushHlistkeys\xa2Dargs\xa1InamespaceBnsKpermissions\x81DpullIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullKcompression\x81\xa1DnameDzlibNrawrepoformats\x82LgeneraldeltaHrevlogv1Qframingmediatypes\x81X&application/mercurial-exp-framing-0005GapibaseDapi/Nv1capabilitiesY\x01\xc5batch branchmap $USUAL_BUNDLE2_CAPS_SERVER$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | 316 s> \xa3GapibaseDapi/Dapis\xa1Pexp-http-v2-0001\xa4Hcommands\xa7Ibranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xf4Kpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\x81HdeadbeefKpermissions\x81DpullHlistkeys\xa2Dargs\xa1InamespaceBnsKpermissions\x81DpullFlookup\xa2Dargs\xa1CkeyCfooKpermissions\x81DpullGpushkey\xa2Dargs\xa4CkeyCkeyInamespaceBnsCnewCnewColdColdKpermissions\x81DpushKcompression\x81\xa1DnameDzlibQframingmediatypes\x81X&application/mercurial-exp-framing-0005Nrawrepoformats\x82LgeneraldeltaHrevlogv1Nv1capabilitiesY\x01\xc5batch branchmap $USUAL_BUNDLE2_CAPS_SERVER$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash |
317 sending heads command | 317 sending heads command |
318 s> POST /api/exp-http-v2-0001/ro/heads HTTP/1.1\r\n | 318 s> POST /api/exp-http-v2-0001/ro/heads HTTP/1.1\r\n |
319 s> Accept-Encoding: identity\r\n | 319 s> Accept-Encoding: identity\r\n |
320 s> accept: application/mercurial-exp-framing-0005\r\n | 320 s> accept: application/mercurial-exp-framing-0005\r\n |
321 s> content-type: application/mercurial-exp-framing-0005\r\n | 321 s> content-type: application/mercurial-exp-framing-0005\r\n |