diff options
Diffstat (limited to '')
-rw-r--r-- | dom/base/test/file_explicit_user_agent.sjs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dom/base/test/file_explicit_user_agent.sjs b/dom/base/test/file_explicit_user_agent.sjs new file mode 100644 index 0000000000..33b9a5c505 --- /dev/null +++ b/dom/base/test/file_explicit_user_agent.sjs @@ -0,0 +1,6 @@ +function handleRequest(request, response) { + if (request.hasHeader("User-Agent")) { + response.setHeader("Result-User-Agent", request.getHeader("User-Agent")); + } + response.write(""); +} |