Home | History | Annotate | Download | only in testserver

Lines Matching refs:wfile

353     self.wfile.write('<html><head><title>%s</title></head></html>' %
370 self.wfile.write('<html><head><title>%s</title></head></html>' %
387 self.wfile.write('<html><head><title>%s</title></head></html>' %
404 self.wfile.write('<html><head><title>%s</title></head></html>' %
421 self.wfile.write('<html><head><title>%s</title></head></html>' %
438 self.wfile.write('<html><head><title>%s</title></head></html>' %
455 self.wfile.write('<html><head><title>%s</title></head></html>' %
472 self.wfile.write('<html><head><title>%s</title></head></html>' %
489 self.wfile.write('<html><head><title>%s</title></head></html>' %
507 self.wfile.write('<html><head><title>%s</title></head></html>' %
524 self.wfile.write('<html><head><title>%s</title></head></html>' %
542 self.wfile.write('<html><head><title>%s</title></head></html>' %
561 self.wfile.write('<html><head><title>%s</title></head></html>' %
600 self.wfile.write(self.headers.getheader(header_name))
634 self.wfile.write(self.ReadRequestBody())
647 self.wfile.write('<html><head><title>')
648 self.wfile.write(request)
649 self.wfile.write('</title></head></html>')
662 self.wfile.write('<html><head><style>'
674 self.wfile.write('%s=%s\n' % (param, params[param][0]))
676 self.wfile.write('</pre>')
678 self.wfile.write('<h1>Request Headers:</h1><pre>%s</pre>' % self.headers)
680 self.wfile.write('</body></html>')
711 self.wfile.write(json.dumps(result, indent=2, sort_keys=False))
744 self.wfile.write("*" * size_chunk1)
745 self.wfile.flush()
753 self.wfile.write("*" * size_chunk2)
856 self.wfile.write(data)
890 self.wfile.write('')
899 self.wfile.write('')
971 self.wfile.write(data)
993 self.wfile.write('%s' % cookie_value)
1013 self.wfile.write('%d cookies were sent' % num_cookies)
1045 self.wfile.write(data_value)
1068 self.wfile.write('%s' % header_value)
1109 self.wfile.write('<html><head>')
1110 self.wfile.write('<title>Denied: %s</title>' % e)
1111 self.wfile.write('</head><body>')
1112 self.wfile.write('auth=%s<p>' % auth)
1113 self.wfile.write('b64str=%s<p>' % b64str)
1114 self.wfile.write('username: %s<p>' % username)
1115 self.wfile.write('userpass: %s<p>' % userpass)
1116 self.wfile.write('password: %s<p>' % password)
1117 self.wfile.write('You sent:<br>%s<p>' % self.headers)
1118 self.wfile.write('</body></html>')
1148 self.wfile.write(data)
1155 self.wfile.write('<html><head>')
1156 self.wfile.write('<title>%s/%s</title>' % (username, password))
1157 self.wfile.write('</head><body>')
1158 self.wfile.write('auth=%s<p>' % auth)
1159 self.wfile.write('You sent:<br>%s<p>' % self.headers)
1160 self.wfile.write('</body></html>')
1242 self.wfile.write('<html><head>')
1243 self.wfile.write('<title>Denied: %s</title>' % e)
1244 self.wfile.write('</head><body>')
1245 self.wfile.write('auth=%s<p>' % auth)
1246 self.wfile.write('pairs=%s<p>' % pairs)
1247 self.wfile.write('You sent:<br>%s<p>' % self.headers)
1248 self.wfile.write('We are replying:<br>%s<p>' % hdr)
1249 self.wfile.write('</body></html>')
1256 self.wfile.write('<html><head>')
1257 self.wfile.write('<title>%s/%s</title>' % (pairs['username'], password))
1258 self.wfile.write('</head><body>')
1259 self.wfile.write('auth=%s<p>' % auth)
1260 self.wfile.write('pairs=%s<p>' % pairs)
1261 self.wfile.write('</body></html>')
1282 self.wfile.write("waited %d seconds" % wait_sec)
1323 self.wfile.flush() # Keep in mind that we start flushing only after 1kb.
1341 self.wfile.write("<html>\n<body>\n<p>HTML text</p>\n</body>\n</html>\n")
1372 self.wfile.write('<html><head>')
1373 self.wfile.write('</head><body>Redirecting to %s</body></html>' % dest)
1395 self.wfile.write('<html><head>')
1396 self.wfile.write('<meta http-equiv="refresh" content="0;url=%s">' % dest)
1397 self.wfile.write('</head><body>Redirecting to %s</body></html>' % dest)
1416 self.wfile.write('--' + bound + '\r\n')
1417 self.wfile.write('Content-Type: text/html\r\n\r\n')
1418 self.wfile.write('<title>page ' + str(i) + '</title>')
1419 self.wfile.write('page ' + str(i))
1421 self.wfile.write('--' + bound + '--')
1435 self.wfile.write('%s\t%s\n' % (action, sessionID.encode('hex')))
1437 self.wfile.write('Pass --https-record-resume in order to use' +
1455 self.wfile.write('*' * 1350)
1456 self.wfile.flush()
1469 self.wfile.write(hashlib.sha256(channel_id).digest().encode('base64'))
1478 self.wfile.close()
1589 self.wfile.write(DataForRange(first_byte, first_byte + 1))
1601 self.wfile.write(DataForRange(first_byte, last_byte + 1))
1602 self.wfile.flush()
1612 self.wfile.write(data)
1613 self.wfile.flush()
1623 self.wfile.close()
1641 self.wfile.write(contents)
1686 self.wfile.write(contents)
1694 self.wfile.write('<html><body><h1>Error: no redirect destination</h1>')
1695 self.wfile.write('Use <pre>%s?http://dest...</pre>' % redirect_name)
1696 self.wfile.write('</body></html>')
1701 self.wfile.write('%X\r\n' % len(chunk))
1702 self.wfile.write(chunk)
1703 self.wfile.write('\r\n')
1720 self.wfile.write(self.ocsp_response)