aboutsummaryrefslogtreecommitdiff
path: root/node_modules/stream-http/test/server/static
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-03 15:35:00 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-03 15:35:00 +0200
commitde98e0b232509d5f40c135d540a70e415272ff85 (patch)
treea79222a5b58484ab3b80d18efcaaa7ccc4769b33 /node_modules/stream-http/test/server/static
parente0c9d480a73fa629c1e4a47d3e721f1d2d345406 (diff)
node_modules
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 000000000..aa7a0cc64
--- /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 000000000..98d6bf5f6
--- /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 000000000..f6a1a9d3d
--- /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, '');
+ };
+ })();
+}