Changeset 342 for trunk/sandbox/jhb/oc2
- Timestamp:
- 12/07/11 16:00:58 (6 months ago)
- Location:
- trunk/sandbox/jhb/oc2
- Files:
-
- 2 modified
-
demoissuer.py (modified) (1 diff)
-
testutils.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/sandbox/jhb/oc2/demoissuer.py
r339 r342 4 4 5 5 #where can this server be reached? 6 baseurl = 'http:// localhost'6 baseurl = 'http://10.42.43.1' 7 7 #what port to run on? 8 8 port = 9090 -
trunk/sandbox/jhb/oc2/testutils.py
r341 r342 10 10 #print self.server 11 11 if self.path == '/stop': 12 raise 'foobar' 12 raise 'foobar' 13 13 length = self.headers.get('Content-Length') 14 14 data = self.rfile.read(int(length)) 15 15 data = urllib.unquote(data) 16 if not data.startswith('['): 17 return 16 18 message = transports.createMessage(data) 17 19 if message.header == 'AskLatestCDD':
