Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / test / data / android / download / post.cgi
blob318c418881e50d21fd907ad62052a7bea884ed5b
1 #!/bin/sh
2 if [ "$REQUEST_METHOD" != "POST" ]; then
3 echo Content-type: text/html
4 echo
5 echo Page must be retrieved with HTTP POST.
6 exit 1
7 fi
9 cat << EOF
10 Cache-Control: no-cache
11 Content-Type: text/plain
12 Content-Disposition: attachment; filename=superbo.txt
13 Expires: Fri, 01 Jan 1990 00:00:00 GMT
14 Transfer-Encoding: chunked
16 plain text response from a POST
18 EOF