pike.git / lib / modules / Tools.pmod / Standalone.pmod / httpserver.pike

version» Context lines:

pike.git/lib/modules/Tools.pmod/Standalone.pmod/httpserver.pike:50:    if( opt->headers )    {    foreach(opt->headers, string hdr)    {    array h = hdr/":";    if(sizeof(h)<2) error("Illegal header format %O.\n", hdr);    headers[h[0]] = h[1..]*":";    }    }    -  write("%O\n", opt->verbose); -  +     Protocols.HTTP.Server.Port(handle_request, port, NetUtils.ANY);    write("%s is now accessible on port %d through http, "    "without password.\n", getcwd(), port);    return -1;   }      string dirlist( string dir )   {    string res =    "<html><head>\n"