summaryrefslogtreecommitdiffstats
path: root/node_modules/stream-http/test/server/static
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/stream-http/test/server/static')
-rw-r--r--node_modules/stream-http/test/server/static/basic.txt19
-rw-r--r--node_modules/stream-http/test/server/static/browserify.pngbin0 -> 31422 bytes
-rw-r--r--node_modules/stream-http/test/server/static/test-polyfill.js9
3 files changed, 28 insertions, 0 deletions
diff --git a/node_modules/stream-http/test/server/static/basic.txt b/node_modules/stream-http/test/server/static/basic.txt
new file mode 100644
index 0000000..aa7a0cc
--- /dev/null
+++ b/node_modules/stream-http/test/server/static/basic.txt
@@ -0,0 +1,19 @@
+Mary had a little lamb,
+His fleece was white as snow,
+And everywhere that Mary went,
+The lamb was sure to go.
+
+He followed her to school one day,
+Which was against the rule,
+It made the children laugh and play
+To see a lamb at school.
+
+And so the teacher turned it out,
+But still it lingered near,
+And waited patiently about,
+Till Mary did appear.
+
+"Why does the lamb love Mary so?"
+The eager children cry.
+"Why, Mary loves the lamb, you know."
+The teacher did reply.
diff --git a/node_modules/stream-http/test/server/static/browserify.png b/node_modules/stream-http/test/server/static/browserify.png
new file mode 100644
index 0000000..98d6bf5
--- /dev/null
+++ b/node_modules/stream-http/test/server/static/browserify.png
Binary files differ
diff --git a/node_modules/stream-http/test/server/static/test-polyfill.js b/node_modules/stream-http/test/server/static/test-polyfill.js
new file mode 100644
index 0000000..f6a1a9d
--- /dev/null
+++ b/node_modules/stream-http/test/server/static/test-polyfill.js
@@ -0,0 +1,9 @@
+if (!String.prototype.trim) {
+ (function() {
+ // Make sure we trim BOM and NBSP
+ var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
+ String.prototype.trim = function() {
+ return this.replace(rtrim, '');
+ };
+ })();
+}