rem: var path = request.replace(/\?.*/, ""); 
add: var path = request[0].replace(/\?.*/, ""); 
context:   onSocketAccepted: function(serverSocket, clientSocket)  {    dump(">>> accepted connection on "+clientSocket.host+":"+clientSocket.port+"\n");    const nsITransport = Components.interfaces.nsITransport;    var input = clientSocket.openInputStream(nsITransport.OPEN_BLOCKING, 0, 0);    var output = clientSocket.openOutputStream(nsITransport.OPEN_BLOCKING, 0, 0);    var request = this.parseInput(input);    // Strip away query parameters, then unescape the request    var path = request.replace(/\?.*/, "");    try {      path = decodeURI(path);    } catch (ex) {      path = 400;    }    if (path in this.handler)      this.handler[path](output);    else      this.handler[404](output);    input.close();    output.close();  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/447660b4bb14564c59af818e945087832c4f566d/head_http_server.js/clean/netwerk/test/unit/head_http_server.js