commit | 2d66d4f74f67dc9a49d6cf80bac4a289718422f1 | [log] [tgz] |
---|---|---|
author | jcgregorio <devnull@localhost> | Tue Feb 07 05:34:14 2006 +0000 |
committer | jcgregorio <devnull@localhost> | Tue Feb 07 05:34:14 2006 +0000 |
tree | 5f30ff62a3b3142e2d80d3731ebecf0445724cb2 | |
parent | ecf6b1df133180035e5dbf04dcec57215eae623d [diff] |
moving into final svn structure
diff --git a/test/user-agent/test.cgi b/test/user-agent/test.cgi new file mode 100755 index 0000000..a7b5454 --- /dev/null +++ b/test/user-agent/test.cgi
@@ -0,0 +1,12 @@ +#!/usr/bin/env python +import os + +# Always returns an empty response body +# and adds in the X-Method: header with the +# method that was sent to the CGI + +print "Status: 200 Ok" +print "Content-Type: text/plain" +print "" +print os.environ.get('HTTP_USER_AGENT', '') +