remove disused debug flag in protocol

This commit is contained in:
Seth Schoen 2012-07-09 22:33:02 -07:00
parent ee9343469f
commit cfc4cbaae3
2 changed files with 1 additions and 9 deletions

View file

@ -335,11 +335,7 @@ class session(object):
# or similar.
# Send reply
if m.debug:
web.header("Content-type", "text/plain")
return "SAW MESSAGE: %s\nRESPONSE: %s\n" % (str(m), str(r))
else:
return r.SerializeToString()
return r.SerializeToString()
def GET(self):
web.header("Content-type", "text/html")

View file

@ -106,8 +106,4 @@ message chocolatemessage {
/* Sent by SERVER to issue the requested certificate */
optional Success success = 8;
/* For debugging; should be removed in final protocol. */
optional bool debug = 9; /* Causes server to return text instead of
message! */
}