mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2024-10-06 07:42:14 +08:00
#35 Finalized unit tests
This commit is contained in:
parent
a28ac82ba2
commit
7a54bcbae5
@ -35,6 +35,8 @@ runTests $MRC_PRODUCT "webDAV" "Tests/WebDAV-Cyberduck"
|
||||
runTests $ARC_PRODUCT "webDAV" "Tests/WebDAV-Cyberduck"
|
||||
runTests $MRC_PRODUCT "webDAV" "Tests/WebDAV-Finder"
|
||||
runTests $ARC_PRODUCT "webDAV" "Tests/WebDAV-Finder"
|
||||
runTests $MRC_PRODUCT "webUploader" "Tests/WebUploader"
|
||||
runTests $ARC_PRODUCT "webUploader" "Tests/WebUploader"
|
||||
|
||||
# Done
|
||||
echo "\nAll tests completed successfully!"
|
||||
|
9
Tests/WebUploader/018-200.response
Executable file
9
Tests/WebUploader/018-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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"}]
|
11
Tests/WebUploader/018-GET.request
Executable file
11
Tests/WebUploader/018-GET.request
Executable file
@ -0,0 +1,11 @@
|
||||
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
|
||||
|
14
Tests/WebUploader/019-200.response
Executable file
14
Tests/WebUploader/019-200.response
Executable file
@ -0,0 +1,14 @@
|
||||
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"
|
||||
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.
|
10
Tests/WebUploader/019-GET.request
Executable file
10
Tests/WebUploader/019-GET.request
Executable file
@ -0,0 +1,10 @@
|
||||
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
|
||||
|
9
Tests/WebUploader/020-200.response
Executable file
9
Tests/WebUploader/020-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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}]
|
11
Tests/WebUploader/020-GET.request
Executable file
11
Tests/WebUploader/020-GET.request
Executable file
@ -0,0 +1,11 @@
|
||||
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
|
||||
|
9
Tests/WebUploader/022-200.response
Executable file
9
Tests/WebUploader/022-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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"}]
|
11
Tests/WebUploader/022-GET.request
Executable file
11
Tests/WebUploader/022-GET.request
Executable file
@ -0,0 +1,11 @@
|
||||
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
|
||||
|
9
Tests/WebUploader/023-200.response
Executable file
9
Tests/WebUploader/023-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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
|
||||
|
||||
{}
|
15
Tests/WebUploader/023-POST.request
Executable file
15
Tests/WebUploader/023-POST.request
Executable file
@ -0,0 +1,15 @@
|
||||
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
|
9
Tests/WebUploader/024-200.response
Executable file
9
Tests/WebUploader/024-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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"}]
|
11
Tests/WebUploader/024-GET.request
Executable file
11
Tests/WebUploader/024-GET.request
Executable file
@ -0,0 +1,11 @@
|
||||
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
|
||||
|
9
Tests/WebUploader/025-200.response
Executable file
9
Tests/WebUploader/025-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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
|
||||
|
||||
{}
|
25
Tests/WebUploader/025-POST.request
Executable file
25
Tests/WebUploader/025-POST.request
Executable file
@ -0,0 +1,25 @@
|
||||
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--
|
9
Tests/WebUploader/026-200.response
Executable file
9
Tests/WebUploader/026-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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}]
|
11
Tests/WebUploader/026-GET.request
Executable file
11
Tests/WebUploader/026-GET.request
Executable file
@ -0,0 +1,11 @@
|
||||
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
|
||||
|
9
Tests/WebUploader/027-200.response
Executable file
9
Tests/WebUploader/027-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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
|
||||
|
||||
{}
|
15
Tests/WebUploader/027-POST.request
Executable file
15
Tests/WebUploader/027-POST.request
Executable file
@ -0,0 +1,15 @@
|
||||
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
|
9
Tests/WebUploader/028-200.response
Executable file
9
Tests/WebUploader/028-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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"}]
|
11
Tests/WebUploader/028-GET.request
Executable file
11
Tests/WebUploader/028-GET.request
Executable file
@ -0,0 +1,11 @@
|
||||
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
|
||||
|
9
Tests/WebUploader/029-200.response
Executable file
9
Tests/WebUploader/029-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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
|
||||
|
||||
{}
|
15
Tests/WebUploader/029-POST.request
Executable file
15
Tests/WebUploader/029-POST.request
Executable file
@ -0,0 +1,15 @@
|
||||
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
|
9
Tests/WebUploader/030-200.response
Executable file
9
Tests/WebUploader/030-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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"}]
|
11
Tests/WebUploader/030-GET.request
Executable file
11
Tests/WebUploader/030-GET.request
Executable file
@ -0,0 +1,11 @@
|
||||
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
|
||||
|
9
Tests/WebUploader/031-200.response
Executable file
9
Tests/WebUploader/031-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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
|
||||
|
||||
{}
|
15
Tests/WebUploader/031-POST.request
Executable file
15
Tests/WebUploader/031-POST.request
Executable file
@ -0,0 +1,15 @@
|
||||
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
|
9
Tests/WebUploader/032-200.response
Executable file
9
Tests/WebUploader/032-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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"}]
|
11
Tests/WebUploader/032-GET.request
Executable file
11
Tests/WebUploader/032-GET.request
Executable file
@ -0,0 +1,11 @@
|
||||
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
|
||||
|
9
Tests/WebUploader/033-200.response
Executable file
9
Tests/WebUploader/033-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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
|
||||
|
||||
{}
|
15
Tests/WebUploader/033-POST.request
Executable file
15
Tests/WebUploader/033-POST.request
Executable file
@ -0,0 +1,15 @@
|
||||
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
|
9
Tests/WebUploader/034-200.response
Executable file
9
Tests/WebUploader/034-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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"}]
|
11
Tests/WebUploader/034-GET.request
Executable file
11
Tests/WebUploader/034-GET.request
Executable file
@ -0,0 +1,11 @@
|
||||
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
|
||||
|
9
Tests/WebUploader/035-200.response
Executable file
9
Tests/WebUploader/035-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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}]
|
11
Tests/WebUploader/035-GET.request
Executable file
11
Tests/WebUploader/035-GET.request
Executable file
@ -0,0 +1,11 @@
|
||||
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
|
||||
|
9
Tests/WebUploader/036-200.response
Executable file
9
Tests/WebUploader/036-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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
|
||||
|
||||
{}
|
15
Tests/WebUploader/036-POST.request
Executable file
15
Tests/WebUploader/036-POST.request
Executable file
@ -0,0 +1,15 @@
|
||||
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
|
9
Tests/WebUploader/037-200.response
Executable file
9
Tests/WebUploader/037-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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}]
|
11
Tests/WebUploader/037-GET.request
Executable file
11
Tests/WebUploader/037-GET.request
Executable file
@ -0,0 +1,11 @@
|
||||
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
|
||||
|
9
Tests/WebUploader/038-200.response
Executable file
9
Tests/WebUploader/038-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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
|
||||
|
||||
{}
|
25
Tests/WebUploader/038-POST.request
Executable file
25
Tests/WebUploader/038-POST.request
Executable file
@ -0,0 +1,25 @@
|
||||
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--
|
9
Tests/WebUploader/039-200.response
Executable file
9
Tests/WebUploader/039-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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}]
|
11
Tests/WebUploader/039-GET.request
Executable file
11
Tests/WebUploader/039-GET.request
Executable file
@ -0,0 +1,11 @@
|
||||
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
|
||||
|
9
Tests/WebUploader/040-200.response
Executable file
9
Tests/WebUploader/040-200.response
Executable file
@ -0,0 +1,9 @@
|
||||
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"}]
|
11
Tests/WebUploader/040-GET.request
Executable file
11
Tests/WebUploader/040-GET.request
Executable file
@ -0,0 +1,11 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user