You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2014/11/08 03:31:33 UTC

[05/50] [abbrv] cordova-plugins git commit: Moved files to local-webserver folder to prepare for the move to the cordova-plugins repo

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebServer/007-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebServer/007-GET.request b/src/ios/GCDWebServer/Tests/WebServer/007-GET.request
deleted file mode 100644
index 17d717e..0000000
--- a/src/ios/GCDWebServer/Tests/WebServer/007-GET.request
+++ /dev/null
@@ -1,12 +0,0 @@
-GET /images/hero_mba_11.jpg HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/images/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-If-None-Match: 73212154/1397166674/0
-If-Modified-Since: Thu, 10 Apr 2014 21:51:14 GMT
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebServer/008-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebServer/008-200.response b/src/ios/GCDWebServer/Tests/WebServer/008-200.response
deleted file mode 100644
index 3b27d34..0000000
--- a/src/ios/GCDWebServer/Tests/WebServer/008-200.response
+++ /dev/null
@@ -1,14 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 199
-Content-Type: text/html; charset=utf-8
-Connection: Close
-Server: GCDWebServer
-Date: Fri, 11 Apr 2014 02:42:40 GMT
-
-<!DOCTYPE html>
-<html><head><meta charset="utf-8"></head><body>
-<ul>
-<li><a href="Apple%20Economic%20Impact%20on%20Cupertino.pdf">Apple Economic Impact on Cupertino.pdf</a></li>
-</ul>
-</body></html>

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebServer/008-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebServer/008-GET.request b/src/ios/GCDWebServer/Tests/WebServer/008-GET.request
deleted file mode 100644
index f7bfb55..0000000
--- a/src/ios/GCDWebServer/Tests/WebServer/008-GET.request
+++ /dev/null
@@ -1,10 +0,0 @@
-GET /PDF%20Reports/ HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebServer/009-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebServer/009-200.response b/src/ios/GCDWebServer/Tests/WebServer/009-200.response
deleted file mode 100644
index 0d94abd..0000000
Binary files a/src/ios/GCDWebServer/Tests/WebServer/009-200.response and /dev/null differ

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebServer/009-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebServer/009-GET.request b/src/ios/GCDWebServer/Tests/WebServer/009-GET.request
deleted file mode 100644
index cc75d37..0000000
--- a/src/ios/GCDWebServer/Tests/WebServer/009-GET.request
+++ /dev/null
@@ -1,10 +0,0 @@
-GET /PDF%20Reports/Apple%20Economic%20Impact%20on%20Cupertino.pdf HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/PDF%20Reports/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebServer/010-304.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebServer/010-304.response b/src/ios/GCDWebServer/Tests/WebServer/010-304.response
deleted file mode 100644
index dbc7e32..0000000
--- a/src/ios/GCDWebServer/Tests/WebServer/010-304.response
+++ /dev/null
@@ -1,7 +0,0 @@
-HTTP/1.1 304 Not Modified
-Last-Modified: Wed, 01 May 2013 12:01:13 GMT
-Etag: 73212107/1367409673/0
-Connection: Close
-Server: GCDWebServer
-Date: Fri, 11 Apr 2014 02:42:42 GMT
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebServer/010-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebServer/010-GET.request b/src/ios/GCDWebServer/Tests/WebServer/010-GET.request
deleted file mode 100644
index 7d8867f..0000000
--- a/src/ios/GCDWebServer/Tests/WebServer/010-GET.request
+++ /dev/null
@@ -1,13 +0,0 @@
-GET /PDF%20Reports/Apple%20Economic%20Impact%20on%20Cupertino.pdf HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36
-Accept: */*
-DNT: 1
-Referer: http://localhost:8080/PDF%20Reports/Apple%20Economic%20Impact%20on%20Cupertino.pdf
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-Range: bytes=0-32767
-If-None-Match: 73212107/1367409673/0
-If-Modified-Since: Wed, 01 May 2013 12:01:13 GMT
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebServer/011-304.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebServer/011-304.response b/src/ios/GCDWebServer/Tests/WebServer/011-304.response
deleted file mode 100644
index dbc7e32..0000000
--- a/src/ios/GCDWebServer/Tests/WebServer/011-304.response
+++ /dev/null
@@ -1,7 +0,0 @@
-HTTP/1.1 304 Not Modified
-Last-Modified: Wed, 01 May 2013 12:01:13 GMT
-Etag: 73212107/1367409673/0
-Connection: Close
-Server: GCDWebServer
-Date: Fri, 11 Apr 2014 02:42:42 GMT
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebServer/011-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebServer/011-GET.request b/src/ios/GCDWebServer/Tests/WebServer/011-GET.request
deleted file mode 100644
index f9bea7d..0000000
--- a/src/ios/GCDWebServer/Tests/WebServer/011-GET.request
+++ /dev/null
@@ -1,13 +0,0 @@
-GET /PDF%20Reports/Apple%20Economic%20Impact%20on%20Cupertino.pdf HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36
-Accept: */*
-DNT: 1
-Referer: http://localhost:8080/PDF%20Reports/Apple%20Economic%20Impact%20on%20Cupertino.pdf
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-Range: bytes=32768-181951
-If-None-Match: 73212107/1367409673/0
-If-Modified-Since: Wed, 01 May 2013 12:01:13 GMT
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebServer/012-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebServer/012-200.response b/src/ios/GCDWebServer/Tests/WebServer/012-200.response
deleted file mode 100644
index b33aff2..0000000
--- a/src/ios/GCDWebServer/Tests/WebServer/012-200.response
+++ /dev/null
@@ -1,8 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 221
-Content-Type: text/html; charset=utf-8
-Connection: Close
-Server: GCDWebServer
-Date: Fri, 11 Apr 2014 02:43:00 GMT
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebServer/012-HEAD.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebServer/012-HEAD.request b/src/ios/GCDWebServer/Tests/WebServer/012-HEAD.request
deleted file mode 100644
index c870918..0000000
--- a/src/ios/GCDWebServer/Tests/WebServer/012-HEAD.request
+++ /dev/null
@@ -1,5 +0,0 @@
-HEAD / HTTP/1.1
-User-Agent: curl/7.30.0
-Host: localhost:8080
-Accept: */*
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/018-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/018-200.response b/src/ios/GCDWebServer/Tests/WebUploader/018-200.response
deleted file mode 100755
index 5e70bc0..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/018-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 138
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:36:13 GMT
-
-[{"path":"\/Copy.txt","name":"Copy.txt","size":271},{"path":"\/images\/","name":"images"},{"path":"\/PDF Reports\/","name":"PDF Reports"}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/018-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/018-GET.request b/src/ios/GCDWebServer/Tests/WebUploader/018-GET.request
deleted file mode 100755
index 42bc027..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/018-GET.request
+++ /dev/null
@@ -1,11 +0,0 @@
-GET /list?path=%2F HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: application/json, text/javascript, */*; q=0.01
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/019-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/019-200.response b/src/ios/GCDWebServer/Tests/WebUploader/019-200.response
deleted file mode 100755
index 7aca4e1..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/019-200.response
+++ /dev/null
@@ -1,14 +0,0 @@
-HTTP/1.1 200 OK
-Connection: Close
-Server: GCDWebUploader
-Content-Type: text/plain
-Last-Modified: Thu, 10 Apr 2014 11:10:14 GMT
-Date: Sat, 12 Apr 2014 05:36:17 GMT
-Content-Disposition: attachment; filename="Copy.txt"; filename*=UTF-8''Copy.txt
-Content-Length: 271
-Cache-Control: no-cache
-Etag: 73598983/1397128214/0
-
-For the colorful.
-
-Color is more than just a hue. It expresses a feeling. Makes a statement. Declares an allegiance. Color reveals your personality. iPhone 5c, in five anything-but-shy colors, does just that. It’s not just for lovers of color. It’s for the colorful.

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/019-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/019-GET.request b/src/ios/GCDWebServer/Tests/WebUploader/019-GET.request
deleted file mode 100755
index c1d9830..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/019-GET.request
+++ /dev/null
@@ -1,10 +0,0 @@
-GET /download?path=%2FCopy.txt HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/020-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/020-200.response b/src/ios/GCDWebServer/Tests/WebUploader/020-200.response
deleted file mode 100755
index 1237e60..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/020-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 128
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:36:19 GMT
-
-[{"path":"\/PDF Reports\/Apple Economic Impact on Cupertino.pdf","name":"Apple Economic Impact on Cupertino.pdf","size":181952}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/020-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/020-GET.request b/src/ios/GCDWebServer/Tests/WebUploader/020-GET.request
deleted file mode 100755
index 5563f9d..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/020-GET.request
+++ /dev/null
@@ -1,11 +0,0 @@
-GET /list?path=%2FPDF+Reports%2F HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: application/json, text/javascript, */*; q=0.01
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/022-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/022-200.response b/src/ios/GCDWebServer/Tests/WebUploader/022-200.response
deleted file mode 100755
index 0049cf3..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/022-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 138
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:36:38 GMT
-
-[{"path":"\/Copy.txt","name":"Copy.txt","size":271},{"path":"\/images\/","name":"images"},{"path":"\/PDF Reports\/","name":"PDF Reports"}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/022-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/022-GET.request b/src/ios/GCDWebServer/Tests/WebUploader/022-GET.request
deleted file mode 100755
index 42bc027..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/022-GET.request
+++ /dev/null
@@ -1,11 +0,0 @@
-GET /list?path=%2F HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: application/json, text/javascript, */*; q=0.01
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/023-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/023-200.response b/src/ios/GCDWebServer/Tests/WebUploader/023-200.response
deleted file mode 100755
index f23bb3d..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/023-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 2
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:36:47 GMT
-
-{}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/023-POST.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/023-POST.request b/src/ios/GCDWebServer/Tests/WebUploader/023-POST.request
deleted file mode 100755
index d2ebfae..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/023-POST.request
+++ /dev/null
@@ -1,15 +0,0 @@
-POST /move HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Content-Length: 50
-Accept: application/json, text/javascript, */*; q=0.01
-Origin: http://localhost:8080
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-Content-Type: application/x-www-form-urlencoded; charset=UTF-8
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-
-oldPath=%2FPDF+Reports%2F&newPath=%2FApple+Reports
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/024-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/024-200.response b/src/ios/GCDWebServer/Tests/WebUploader/024-200.response
deleted file mode 100755
index cf4c31f..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/024-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 142
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:36:47 GMT
-
-[{"path":"\/Apple Reports\/","name":"Apple Reports"},{"path":"\/Copy.txt","name":"Copy.txt","size":271},{"path":"\/images\/","name":"images"}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/024-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/024-GET.request b/src/ios/GCDWebServer/Tests/WebUploader/024-GET.request
deleted file mode 100755
index 42bc027..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/024-GET.request
+++ /dev/null
@@ -1,11 +0,0 @@
-GET /list?path=%2F HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: application/json, text/javascript, */*; q=0.01
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/025-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/025-200.response b/src/ios/GCDWebServer/Tests/WebUploader/025-200.response
deleted file mode 100755
index 7477db6..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/025-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 2
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:36:54 GMT
-
-{}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/025-POST.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/025-POST.request b/src/ios/GCDWebServer/Tests/WebUploader/025-POST.request
deleted file mode 100755
index 968aee1..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/025-POST.request
+++ /dev/null
@@ -1,25 +0,0 @@
-POST /upload HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Content-Length: 303
-Accept: application/json, text/javascript, */*; q=0.01
-Origin: http://localhost:8080
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7lMHFBOBPzmFnORR
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-
-------WebKitFormBoundary7lMHFBOBPzmFnORR
-Content-Disposition: form-data; name="path"
-
-/
-------WebKitFormBoundary7lMHFBOBPzmFnORR
-Content-Disposition: form-data; name="files[]"; filename="Test File.txt"
-Content-Type: text/plain
-
-Nothing to see here!
-
-------WebKitFormBoundary7lMHFBOBPzmFnORR--

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/026-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/026-200.response b/src/ios/GCDWebServer/Tests/WebUploader/026-200.response
deleted file mode 100755
index 99c21be..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/026-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 202
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:36:54 GMT
-
-[{"path":"\/Apple Reports\/","name":"Apple Reports"},{"path":"\/Copy.txt","name":"Copy.txt","size":271},{"path":"\/images\/","name":"images"},{"path":"\/Test File.txt","name":"Test File.txt","size":21}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/026-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/026-GET.request b/src/ios/GCDWebServer/Tests/WebUploader/026-GET.request
deleted file mode 100755
index 42bc027..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/026-GET.request
+++ /dev/null
@@ -1,11 +0,0 @@
-GET /list?path=%2F HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: application/json, text/javascript, */*; q=0.01
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/027-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/027-200.response b/src/ios/GCDWebServer/Tests/WebUploader/027-200.response
deleted file mode 100755
index ec86294..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/027-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 2
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:37:07 GMT
-
-{}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/027-POST.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/027-POST.request b/src/ios/GCDWebServer/Tests/WebUploader/027-POST.request
deleted file mode 100755
index d160965..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/027-POST.request
+++ /dev/null
@@ -1,15 +0,0 @@
-POST /create HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Content-Length: 18
-Accept: application/json, text/javascript, */*; q=0.01
-Origin: http://localhost:8080
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-Content-Type: application/x-www-form-urlencoded; charset=UTF-8
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-
-path=%2FText+Files
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/028-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/028-200.response b/src/ios/GCDWebServer/Tests/WebUploader/028-200.response
deleted file mode 100755
index 622603f..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/028-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 248
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:37:07 GMT
-
-[{"path":"\/Apple Reports\/","name":"Apple Reports"},{"path":"\/Copy.txt","name":"Copy.txt","size":271},{"path":"\/images\/","name":"images"},{"path":"\/Test File.txt","name":"Test File.txt","size":21},{"path":"\/Text Files\/","name":"Text Files"}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/028-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/028-GET.request b/src/ios/GCDWebServer/Tests/WebUploader/028-GET.request
deleted file mode 100755
index 42bc027..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/028-GET.request
+++ /dev/null
@@ -1,11 +0,0 @@
-GET /list?path=%2F HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: application/json, text/javascript, */*; q=0.01
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/029-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/029-200.response b/src/ios/GCDWebServer/Tests/WebUploader/029-200.response
deleted file mode 100755
index 6478160..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/029-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 2
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:37:14 GMT
-
-{}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/029-POST.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/029-POST.request b/src/ios/GCDWebServer/Tests/WebUploader/029-POST.request
deleted file mode 100755
index 42ae050..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/029-POST.request
+++ /dev/null
@@ -1,15 +0,0 @@
-POST /move HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Content-Length: 52
-Accept: application/json, text/javascript, */*; q=0.01
-Origin: http://localhost:8080
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-Content-Type: application/x-www-form-urlencoded; charset=UTF-8
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-
-oldPath=%2FCopy.txt&newPath=%2FText+Files%2FCopy.txt
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/030-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/030-200.response b/src/ios/GCDWebServer/Tests/WebUploader/030-200.response
deleted file mode 100755
index be1a3c7..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/030-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 197
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:37:14 GMT
-
-[{"path":"\/Apple Reports\/","name":"Apple Reports"},{"path":"\/images\/","name":"images"},{"path":"\/Test File.txt","name":"Test File.txt","size":21},{"path":"\/Text Files\/","name":"Text Files"}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/030-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/030-GET.request b/src/ios/GCDWebServer/Tests/WebUploader/030-GET.request
deleted file mode 100755
index 42bc027..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/030-GET.request
+++ /dev/null
@@ -1,11 +0,0 @@
-GET /list?path=%2F HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: application/json, text/javascript, */*; q=0.01
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/031-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/031-200.response b/src/ios/GCDWebServer/Tests/WebUploader/031-200.response
deleted file mode 100755
index e90dc8b..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/031-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 2
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:37:22 GMT
-
-{}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/031-POST.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/031-POST.request b/src/ios/GCDWebServer/Tests/WebUploader/031-POST.request
deleted file mode 100755
index c8cb0c6..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/031-POST.request
+++ /dev/null
@@ -1,15 +0,0 @@
-POST /move HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Content-Length: 62
-Accept: application/json, text/javascript, */*; q=0.01
-Origin: http://localhost:8080
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-Content-Type: application/x-www-form-urlencoded; charset=UTF-8
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-
-oldPath=%2FTest+File.txt&newPath=%2FText+Files%2FTest+File.txt
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/032-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/032-200.response b/src/ios/GCDWebServer/Tests/WebUploader/032-200.response
deleted file mode 100755
index e0d8a7f..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/032-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 137
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:37:22 GMT
-
-[{"path":"\/Apple Reports\/","name":"Apple Reports"},{"path":"\/images\/","name":"images"},{"path":"\/Text Files\/","name":"Text Files"}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/032-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/032-GET.request b/src/ios/GCDWebServer/Tests/WebUploader/032-GET.request
deleted file mode 100755
index 42bc027..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/032-GET.request
+++ /dev/null
@@ -1,11 +0,0 @@
-GET /list?path=%2F HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: application/json, text/javascript, */*; q=0.01
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/033-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/033-200.response b/src/ios/GCDWebServer/Tests/WebUploader/033-200.response
deleted file mode 100755
index 32a5f05..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/033-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 2
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:37:25 GMT
-
-{}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/033-POST.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/033-POST.request b/src/ios/GCDWebServer/Tests/WebUploader/033-POST.request
deleted file mode 100755
index 8e973ca..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/033-POST.request
+++ /dev/null
@@ -1,15 +0,0 @@
-POST /delete HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Content-Length: 21
-Accept: application/json, text/javascript, */*; q=0.01
-Origin: http://localhost:8080
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-Content-Type: application/x-www-form-urlencoded; charset=UTF-8
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-
-path=%2FText+Files%2F
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/034-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/034-200.response b/src/ios/GCDWebServer/Tests/WebUploader/034-200.response
deleted file mode 100755
index d87f0df..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/034-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 91
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:37:25 GMT
-
-[{"path":"\/Apple Reports\/","name":"Apple Reports"},{"path":"\/images\/","name":"images"}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/034-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/034-GET.request b/src/ios/GCDWebServer/Tests/WebUploader/034-GET.request
deleted file mode 100755
index 42bc027..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/034-GET.request
+++ /dev/null
@@ -1,11 +0,0 @@
-GET /list?path=%2F HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: application/json, text/javascript, */*; q=0.01
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/035-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/035-200.response b/src/ios/GCDWebServer/Tests/WebUploader/035-200.response
deleted file mode 100755
index 7d970e7..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/035-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 171
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:37:29 GMT
-
-[{"path":"\/images\/capable_green_ipad_l.png","name":"capable_green_ipad_l.png","size":116066},{"path":"\/images\/hero_mba_11.jpg","name":"hero_mba_11.jpg","size":106799}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/035-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/035-GET.request b/src/ios/GCDWebServer/Tests/WebUploader/035-GET.request
deleted file mode 100755
index 991cf51..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/035-GET.request
+++ /dev/null
@@ -1,11 +0,0 @@
-GET /list?path=%2Fimages%2F HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: application/json, text/javascript, */*; q=0.01
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/036-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/036-200.response b/src/ios/GCDWebServer/Tests/WebUploader/036-200.response
deleted file mode 100755
index 7af382a..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/036-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 2
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:37:32 GMT
-
-{}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/036-POST.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/036-POST.request b/src/ios/GCDWebServer/Tests/WebUploader/036-POST.request
deleted file mode 100755
index e496ce0..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/036-POST.request
+++ /dev/null
@@ -1,15 +0,0 @@
-POST /delete HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Content-Length: 41
-Accept: application/json, text/javascript, */*; q=0.01
-Origin: http://localhost:8080
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-Content-Type: application/x-www-form-urlencoded; charset=UTF-8
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-
-path=%2Fimages%2Fcapable_green_ipad_l.png
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/037-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/037-200.response b/src/ios/GCDWebServer/Tests/WebUploader/037-200.response
deleted file mode 100755
index 305cf2e..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/037-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 77
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:37:32 GMT
-
-[{"path":"\/images\/hero_mba_11.jpg","name":"hero_mba_11.jpg","size":106799}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/037-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/037-GET.request b/src/ios/GCDWebServer/Tests/WebUploader/037-GET.request
deleted file mode 100755
index 991cf51..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/037-GET.request
+++ /dev/null
@@ -1,11 +0,0 @@
-GET /list?path=%2Fimages%2F HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: application/json, text/javascript, */*; q=0.01
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/038-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/038-200.response b/src/ios/GCDWebServer/Tests/WebUploader/038-200.response
deleted file mode 100755
index 2ef2a18..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/038-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 2
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:37:43 GMT
-
-{}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/038-POST.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/038-POST.request b/src/ios/GCDWebServer/Tests/WebUploader/038-POST.request
deleted file mode 100755
index a27ab4c..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/038-POST.request
+++ /dev/null
@@ -1,25 +0,0 @@
-POST /upload HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Content-Length: 310
-Accept: application/json, text/javascript, */*; q=0.01
-Origin: http://localhost:8080
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryBafwo3u3oLFJ8XeG
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-
-------WebKitFormBoundaryBafwo3u3oLFJ8XeG
-Content-Disposition: form-data; name="path"
-
-/images/
-------WebKitFormBoundaryBafwo3u3oLFJ8XeG
-Content-Disposition: form-data; name="files[]"; filename="Test File.txt"
-Content-Type: text/plain
-
-Nothing to see here!
-
-------WebKitFormBoundaryBafwo3u3oLFJ8XeG--

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/039-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/039-200.response b/src/ios/GCDWebServer/Tests/WebUploader/039-200.response
deleted file mode 100755
index 5263fd7..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/039-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 145
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:37:43 GMT
-
-[{"path":"\/images\/hero_mba_11.jpg","name":"hero_mba_11.jpg","size":106799},{"path":"\/images\/Test File.txt","name":"Test File.txt","size":21}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/039-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/039-GET.request b/src/ios/GCDWebServer/Tests/WebUploader/039-GET.request
deleted file mode 100755
index 991cf51..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/039-GET.request
+++ /dev/null
@@ -1,11 +0,0 @@
-GET /list?path=%2Fimages%2F HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: application/json, text/javascript, */*; q=0.01
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/040-200.response
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/040-200.response b/src/ios/GCDWebServer/Tests/WebUploader/040-200.response
deleted file mode 100755
index ab12db8..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/040-200.response
+++ /dev/null
@@ -1,9 +0,0 @@
-HTTP/1.1 200 OK
-Cache-Control: no-cache
-Content-Length: 91
-Content-Type: application/json
-Connection: Close
-Server: GCDWebUploader
-Date: Sat, 12 Apr 2014 05:37:48 GMT
-
-[{"path":"\/Apple Reports\/","name":"Apple Reports"},{"path":"\/images\/","name":"images"}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/Tests/WebUploader/040-GET.request
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/Tests/WebUploader/040-GET.request b/src/ios/GCDWebServer/Tests/WebUploader/040-GET.request
deleted file mode 100755
index 42bc027..0000000
--- a/src/ios/GCDWebServer/Tests/WebUploader/040-GET.request
+++ /dev/null
@@ -1,11 +0,0 @@
-GET /list?path=%2F HTTP/1.1
-Host: localhost:8080
-Connection: keep-alive
-Accept: application/json, text/javascript, */*; q=0.01
-X-Requested-With: XMLHttpRequest
-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
-DNT: 1
-Referer: http://localhost:8080/
-Accept-Encoding: gzip,deflate,sdch
-Accept-Language: en-US,en;q=0.8,fr;q=0.6
-

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/iOS/AppDelegate.h
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/iOS/AppDelegate.h b/src/ios/GCDWebServer/iOS/AppDelegate.h
deleted file mode 100644
index eee7618..0000000
--- a/src/ios/GCDWebServer/iOS/AppDelegate.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- Copyright (c) 2012-2014, Pierre-Olivier Latour
- All rights reserved.
- 
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * The name of Pierre-Olivier Latour may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
- 
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL PIERRE-OLIVIER LATOUR BE LIABLE FOR ANY
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import <UIKit/UIKit.h>
-
-@interface AppDelegate : UIResponder <UIApplicationDelegate>
-@property(retain, nonatomic) UIWindow* window;
-@end

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/iOS/AppDelegate.m
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/iOS/AppDelegate.m b/src/ios/GCDWebServer/iOS/AppDelegate.m
deleted file mode 100644
index 2058768..0000000
--- a/src/ios/GCDWebServer/iOS/AppDelegate.m
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- Copyright (c) 2012-2014, Pierre-Olivier Latour
- All rights reserved.
- 
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * The name of Pierre-Olivier Latour may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
- 
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL PIERRE-OLIVIER LATOUR BE LIABLE FOR ANY
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import "AppDelegate.h"
-#import "GCDWebUploader.h"
-
-@interface AppDelegate () <GCDWebUploaderDelegate> {
-@private
-  GCDWebUploader* _webServer;
-}
-@end
-
-@implementation AppDelegate
-
-- (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions {
-  CGRect bounds = ([UIScreen instancesRespondToSelector:@selector(nativeBounds)] ? [[UIScreen mainScreen] nativeBounds] : [[UIScreen mainScreen] bounds]);
-  _window = [[UIWindow alloc] initWithFrame:bounds];
-  _window.backgroundColor = [UIColor whiteColor];
-  [_window makeKeyAndVisible];
-  
-  NSString* documentsPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject];
-  _webServer = [[GCDWebUploader alloc] initWithUploadDirectory:documentsPath];
-  _webServer.delegate = self;
-  _webServer.allowHiddenItems = YES;
-  [_webServer start];
-  
-  return YES;
-}
-
-- (void)webUploader:(GCDWebUploader*)uploader didUploadFileAtPath:(NSString*)path {
-  NSLog(@"[UPLOAD] %@", path);
-}
-
-- (void)webUploader:(GCDWebUploader*)uploader didMoveItemFromPath:(NSString*)fromPath toPath:(NSString*)toPath {
-  NSLog(@"[MOVE] %@ -> %@", fromPath, toPath);
-}
-
-- (void)webUploader:(GCDWebUploader*)uploader didDeleteItemAtPath:(NSString*)path {
-  NSLog(@"[DELETE] %@", path);
-}
-
-- (void)webUploader:(GCDWebUploader*)uploader didCreateDirectoryAtPath:(NSString*)path {
-  NSLog(@"[CREATE] %@", path);
-}
-
-@end

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/iOS/Info.plist
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/iOS/Info.plist b/src/ios/GCDWebServer/iOS/Info.plist
deleted file mode 100644
index 2645b2c..0000000
--- a/src/ios/GCDWebServer/iOS/Info.plist
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>en</string>
-	<key>CFBundleDisplayName</key>
-	<string>${PRODUCT_NAME}</string>
-	<key>CFBundleExecutable</key>
-	<string>${EXECUTABLE_NAME}</string>
-	<key>CFBundleIdentifier</key>
-	<string>net.pol-online.${PRODUCT_NAME:rfc1034identifier}</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>${PRODUCT_NAME}</string>
-	<key>CFBundlePackageType</key>
-	<string>APPL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleVersion</key>
-	<string>1.0</string>
-	<key>LSRequiresIPhoneOS</key>
-	<true/>
-	<key>UIRequiredDeviceCapabilities</key>
-	<array>
-		<string>armv7</string>
-	</array>
-	<key>UISupportedInterfaceOrientations</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-	<key>UISupportedInterfaceOrientations~ipad</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationPortraitUpsideDown</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-</dict>
-</plist>

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/GCDWebServer/iOS/main.m
----------------------------------------------------------------------
diff --git a/src/ios/GCDWebServer/iOS/main.m b/src/ios/GCDWebServer/iOS/main.m
deleted file mode 100644
index 21b6aa9..0000000
--- a/src/ios/GCDWebServer/iOS/main.m
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- Copyright (c) 2012-2014, Pierre-Olivier Latour
- All rights reserved.
- 
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * The name of Pierre-Olivier Latour may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
- 
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL PIERRE-OLIVIER LATOUR BE LIABLE FOR ANY
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import "AppDelegate.h"
-
-int main(int argc, char* argv[]) {
-  @autoreleasepool {
-    return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
-  }
-}

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/SACordovaLocalWebServer.h
----------------------------------------------------------------------
diff --git a/src/ios/SACordovaLocalWebServer.h b/src/ios/SACordovaLocalWebServer.h
deleted file mode 100644
index b792c4c..0000000
--- a/src/ios/SACordovaLocalWebServer.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
- */
-
-#import <Cordova/CDVPlugin.h>
-#import "GCDWebServer.h"
-
-@interface SACordovaLocalWebServer : CDVPlugin
-
-@property (nonatomic, strong) GCDWebServer* server;
-@end

http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/2504faa4/src/ios/SACordovaLocalWebServer.m
----------------------------------------------------------------------
diff --git a/src/ios/SACordovaLocalWebServer.m b/src/ios/SACordovaLocalWebServer.m
deleted file mode 100644
index 9c6cda0..0000000
--- a/src/ios/SACordovaLocalWebServer.m
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
- */
-
-#import "SACordovaLocalWebServer.h"
-#import "GCDWebServerPrivate.h"
-#import "GCDWebServer+LocalhostOnlyBaseHandler.h"
-#import <Cordova/CDVViewController.h>
-
-@implementation SACordovaLocalWebServer
-
-- (void) pluginInitialize {
-	
-    BOOL useLocalWebServer = NO;
-    NSString* indexPage = @"index.html";
-    NSUInteger port = 80;
-	
-    // check the content tag src
-    CDVViewController* vc = (CDVViewController*)self.viewController;
-    NSURL* startPageUrl = [NSURL URLWithString:vc.startPage];
-    if (startPageUrl != nil) {
-        if ([[startPageUrl scheme] isEqualToString:@"http"] && [[startPageUrl host] isEqualToString:@"localhost"]) {
-            port = [[startPageUrl port] unsignedIntegerValue];
-            useLocalWebServer = YES;
-        }
-    }
-    
-    if (useLocalWebServer) {
-		// Create server
-        self.server = [[GCDWebServer alloc] init];
-        NSString* path = [self.commandDelegate pathForResource:indexPage];
-		NSString* authToken = [NSString stringWithFormat:@"cdvToken=%@", [[NSProcessInfo processInfo] globallyUniqueString]];
-		[self.server addLocalhostOnlyGETHandlerForBasePath:@"/" directoryPath:[path stringByDeletingLastPathComponent] indexFilename:indexPage cacheAge:0 allowRangeRequests:YES authToken:authToken];
-        [self.server startWithPort:port bonjourName:nil];
-        [GCDWebServer setLogLevel:kGCDWebServerLoggingLevel_Error];
-        
-        // Update the startPage (supported in cordova-ios 3.7.0, see https://issues.apache.org/jira/browse/CB-7857)
-		vc.startPage = [NSString stringWithFormat:@"http://localhost:%lu/%@?%@", self.server.port, indexPage, authToken];
-        
-    } else {
-        NSLog(@"WARNING: CordovaLocalWebServer: <content> tag src is not http://localhost[:port] (is %@), local web server not started.", vc.startPage);
-    }
-}
-
-@end
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org