mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-04-24 00:00:04 +08:00
#35 Finalized unit tests
This commit is contained in:
Executable
+25
@@ -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--
|
||||
Reference in New Issue
Block a user