Package linspector :: Package lib :: Package service :: Module tcpconnect
[hide private]
[frames] | no frames]

Module tcpconnect

source code

The tcpconnect service in pure Python.

Variables [hide private]
  HOST = 'linspector.org'
  GET = '/index.html'
  PORT = 80
  sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  data = ''
  string = 'HTTP/1.0 200 OK\r\nContent-Type: text/html\r\nAccept...
  __package__ = 'linspector.lib.service'
Variables Details [hide private]

string

Value:
'''HTTP/1.0 200 OK\r
Content-Type: text/html\r
Accept-Ranges: bytes\r
ETag: "2586394804"\r
Last-Modified: Thu, 30 May 2013 02:05:45 GMT\r
Content-Length: 6366\r
Connection: close\r
Date: Thu, 30 May 2013 02:55:06 GMT\r
...