B2G/gecko/browser/components/thumbnails/test/background_red_redirect.sjs
/* Any copyright is dedicated to the Public Domain.
   http://creativecommons.org/publicdomain/zero/1.0/ */
Any copyright is dedicated to the Public Domain.
Any copyright is dedicated to the Public Domain .
function handleRequest(aRequest, aResponse) {
 aResponse.setStatusLine(aRequest.httpVersion, 301, "Moved Permanently");
 aResponse.setHeader("Location", "http://mochi.test:8888/browser/browser/components/thumbnails/test/background_red.html");
}
function handleRequest ( aRequest , aResponse ) { aResponse . setStatusLine ( aRequest . httpVersion , 301 , "Moved Permanently" ) ; aResponse . setHeader ( "Location" , "http://mochi.test:8888/browser/browser/components/thumbnails/test/background_red.html" ) ; }
Any copyright is dedicated to the Public Domain.
Any copyright is dedicated to the Public Domain .
// Set HTTP Status. // Set redirect URI.