Show More
@@ -205,8 +205,12 b' class server(object):' | |||||
205 | 'getencoding' : getencoding} |
|
205 | 'getencoding' : getencoding} | |
206 |
|
206 | |||
207 | def serve(self): |
|
207 | def serve(self): | |
208 |
|
|
208 | hellomsg = 'capabilities: ' + ' '.join(self.capabilities.keys()) | |
209 | self.cout.write('encoding: %s' % encoding.encoding) |
|
209 | hellomsg += '\n' | |
|
210 | hellomsg += 'encoding: ' + encoding.encoding | |||
|
211 | ||||
|
212 | # write the hello msg in -one- chunk | |||
|
213 | self.cout.write(hellomsg) | |||
210 |
|
214 | |||
211 | try: |
|
215 | try: | |
212 | while self.serveone(): |
|
216 | while self.serveone(): |
General Comments 0
You need to be logged in to leave comments.
Login now