metadata

Check-in [542492a693]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Deal with root URL path
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA3-256:542492a693daedb61f674b61e5df8b16c233c91edad47a70a9ece54851d7fa92
User & Date: vandys 2018-06-26 21:40:19
Context
2018-06-26
21:40
Deal with root URL path Leaf check-in: 542492a693 user: vandys tags: trunk
2018-06-24
21:32
Handle null values; treat as non-existent check-in: 66fdae2f43 user: vandys tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to stream.py.

99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
    def watch(self):
	global IDLE, Args, Whitespace

	# Request it
	sys.stderr.write("sending to %s\n" % (self.host,))
	args = Args + ("%s:%d" % (self.host, self.port)) + "\r\n"
	self.sock.send("GET %s HTTP/1.0\r\n%s\r\n" %
	    (self.path, args))

	# Assemble the HTTP response headers.  A body probably follows,
	#  which is handled below.
	headers = {}
	while True:
	    l = self.readline()
	    sys.stderr.write(" line %s\n" % (l,))







|







99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
    def watch(self):
	global IDLE, Args, Whitespace

	# Request it
	sys.stderr.write("sending to %s\n" % (self.host,))
	args = Args + ("%s:%d" % (self.host, self.port)) + "\r\n"
	self.sock.send("GET %s HTTP/1.0\r\n%s\r\n" %
	    (self.path or '/', args))

	# Assemble the HTTP response headers.  A body probably follows,
	#  which is handled below.
	headers = {}
	while True:
	    l = self.readline()
	    sys.stderr.write(" line %s\n" % (l,))