wplayer

Check-in [e7af69d1ed]
Login

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

Overview
Comment:favicon is served directly by the chore level
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:e7af69d1ed7d9c672da7c391ddce248161a467abe9626d6f65ecd029cc4f669d
User & Date: ajv-899-334-8894@vsta.org 2016-02-10 01:36:56
Context
2016-02-11
15:03
chore library check-in: da01a57b41 user: ajv-899-334-8894@vsta.org tags: master, trunk
2016-02-10
01:36
favicon is served directly by the chore level check-in: e7af69d1ed user: ajv-899-334-8894@vsta.org tags: master, trunk
01:36
Use chore from its own repo check-in: c1891b637f user: ajv-899-334-8894@vsta.org tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to get.py.

48
49
50
51
52
53
54

55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
	# Back it goes, as a JSON-encoded buffer
	return self.send_json(res)

    # GET dispatcher
    # See if it's a configured path, and serve file or dir
    def send_path(self):
	app = self.server

	cpaths = app.config["files"]
	pp = [urllib.unquote(p) for p in self.paths]

	# Special case, bleh
	if (len(pp) == 1) and (pp[0] == "favicon.ico"):
	    print "GET favicon.ico"
	    buf = self.send_files("imgs/favicon.ico")
	    return True,buf

	# We serve /media/prefix/blah/blah...
	if pp[0] != "media":
	    return False,None
	del pp[0]

	# Root; list configured prefixes themselves
	if not pp:







>
|


<
<
<
<
<
<







48
49
50
51
52
53
54
55
56
57
58






59
60
61
62
63
64
65
	# Back it goes, as a JSON-encoded buffer
	return self.send_json(res)

    # GET dispatcher
    # See if it's a configured path, and serve file or dir
    def send_path(self):
	app = self.server
	webroot = app.approot
	cpaths = webroot.config["files"]
	pp = [urllib.unquote(p) for p in self.paths]







	# We serve /media/prefix/blah/blah...
	if pp[0] != "media":
	    return False,None
	del pp[0]

	# Root; list configured prefixes themselves
	if not pp: