B2G/gecko/netwerk/test/unit/test_duplicate_headers.js
// Bug 716801 OK for Location: header to be blank
Bug 716801 OK for Location: header to be blank
Bug 716801 OK for Location : header to be blank
function handler12(metadata, response)
{
  var body = "012345678901234567890123456789";
  response.seizePower();
  response.write("HTTP/1.0 200 OK\r\n");
  response.write("Content-Type: text/plain\r\n");
  response.write("Content-Length: 30\r\n");
  response.write("Location:\r\n");
  response.write("Connection: close\r\n");
  response.write("\r\n");
  response.write(body);
  response.finish();
}
function handler12 ( metadata , response ) { var body = "012345678901234567890123456789" ; response . seizePower ( ) ; response . write ( "HTTP/1.0 200 OK\r\n" ) ; response . write ( "Content-Type: text/plain\r\n" ) ; response . write ( "Content-Length: 30\r\n" ) ; response . write ( "Location:\r\n" ) ; response . write ( "Connection: close\r\n" ) ; response . write ( "\r\n" ) ; response . write ( body ) ; response . finish ( ) ; }
Bug 716801 OK for Location: header to be blank
Bug 716801 OK for Location : header to be blank