mercurial/wireprototypes.py
changeset 36074 2f7290555c96
parent 36073 cd6ab329c5c7
child 36371 0c231df1ffdc
--- a/mercurial/wireprototypes.py	Wed Feb 07 16:29:05 2018 -0800
+++ b/mercurial/wireprototypes.py	Wed Feb 07 20:27:36 2018 -0800
@@ -5,6 +5,11 @@
 
 from __future__ import absolute_import
 
+class bytesresponse(object):
+    """A wire protocol response consisting of raw bytes."""
+    def __init__(self, data):
+        self.data = data
+
 class ooberror(object):
     """wireproto reply: failure of a batch of operation