Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/utils/lib/http.js
diff options
context:
space:
mode:
Diffstat (limited to 'utils/lib/http.js')
-rwxr-xr-xutils/lib/http.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/utils/lib/http.js b/utils/lib/http.js
deleted file mode 100755
index 904dc6d..0000000
--- a/utils/lib/http.js
+++ /dev/null
@@ -1,17 +0,0 @@
-
-var implementation = require('http-platform');
-
-exports.open = function (url, mode, options) {
- // todo mode negotiation, particularly for binary vs text buffering
- return new implementation.IO(url);
-};
-
-exports.read = function (url) {
- var stream = exports.open(url);
- try {
- return stream.read();
- } finally {
- stream.close();
- }
-};
-