tests/test-gendoc-sv.t
author Gregory Szorc <gregory.szorc@gmail.com>
Sat, 19 Nov 2016 18:31:40 -0800
changeset 30473 e16e234b9ca3
parent 28809 7a1ad08b9ff5
permissions -rw-r--r--
httppeer: do decompression inside _callstream The current HTTP transport protocol only compresses certain command responses and requires calls to that command to call "_callcompressable," which zlib decompresses the response transparently. Upcoming changes will enable *any* response to be compressed with varying compression formats. In order to handle this better, this commit moves the decompression bits to the main function performing the HTTP request. We introduce an underscore-prefixed argument to denote this behavior so it doesn't conflict with a named argument to a command.

#require docutils gettext

  $ $TESTDIR/check-gendoc sv
  checking for parse errors