Changeset eceeb54041d6fa0fc7c0224605cc55a8be9038c4
- Timestamp:
- 11/18/07 12:49:31
(1 year ago)
- Author:
- Jason Michalski <armooo@armooo.net>
- git-committer:
- Jason Michalski <armooo@armooo.net> 1195411771 -0600
- git-parent:
[7dd7b63efbd2cf6f9d25cb580da79fafbb0c6f27]
- git-author:
- Jason Michalski <armooo@armooo.net> 1195411771 -0600
- Message:
Renamed method SendFile? to send_file
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r7dd7b63 |
receeb54 |
|
| 34 | 34 | if path.startswith('/' + name): |
|---|
| 35 | 35 | plugin = GetPlugin(container['type']) |
|---|
| 36 | | plugin.SendFile(self, container, name) |
|---|
| | 36 | plugin.send_file(self, container, name) |
|---|
| 37 | 37 | return |
|---|
| 38 | 38 | |
|---|
| r5bf1bd3 |
receeb54 |
|
| 24 | 24 | content_type = '' |
|---|
| 25 | 25 | |
|---|
| 26 | | def SendFile(self, handler, container, name): |
|---|
| | 26 | def send_file(self, handler, container, name): |
|---|
| 27 | 27 | o = urlparse("http://fake.host" + handler.path) |
|---|
| 28 | 28 | path = unquote_plus(o[2]) |
|---|
| r8698247 |
receeb54 |
|
| 15 | 15 | content_type = 'x-container/tivo-videos' |
|---|
| 16 | 16 | |
|---|
| 17 | | def SendFile(self, handler, container, name): |
|---|
| | 17 | def send_file(self, handler, container, name): |
|---|
| 18 | 18 | |
|---|
| 19 | 19 | #No longer a 'cheep' hack :p |
|---|