PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/modules/libjar/test/mochitest/openredirect.sjs

http://github.com/zpao/v8monkey
Unknown | 5 lines | 5 code | 0 blank | 0 comment | 0 complexity | 862a345f69981a8f6a542b8d8263eed5 MD5 | raw file
1function handleRequest(request, response)
2{
3  response.setStatusLine(request.httpVersion, 301, "Moved Permanently");
4  response.setHeader("Location", request.queryString, false);
5}