bozo_setenv
bozo_setenv(httpd, "AUTH_TYPE", "Basic", (*curenvpp)++);
bozo_setenv(httpd, "REMOTE_USER", request->hr_authuser,
void bozo_setenv(bozohttpd_t *, const char *, const char *, char **);
bozo_setenv(httpd, env, headp->h_value, curenvp++);
bozo_setenv(httpd, "PATH", _PATH_DEFPATH, curenvp++);
bozo_setenv(httpd, "IFS", " \t\n", curenvp++);
bozo_setenv(httpd, "SERVER_NAME", BOZOHOST(httpd,request), curenvp++);
bozo_setenv(httpd, "GATEWAY_INTERFACE", "CGI/1.1", curenvp++);
bozo_setenv(httpd, "SERVER_PROTOCOL", request->hr_proto, curenvp++);
bozo_setenv(httpd, "REQUEST_METHOD", request->hr_methodstr, curenvp++);
bozo_setenv(httpd, "SCRIPT_NAME", file, curenvp++);
bozo_setenv(httpd, "SCRIPT_FILENAME", file + 1, curenvp++);
bozo_setenv(httpd, "SERVER_SOFTWARE", httpd->server_software,
bozo_setenv(httpd, "REQUEST_URI", uri, curenvp++);
bozo_setenv(httpd, "DATE_GMT", bozo_http_date(date, sizeof(date)),
bozo_setenv(httpd, "QUERY_STRING", query, curenvp++);
bozo_setenv(httpd, "QUERY_STRING", "", curenvp++);
bozo_setenv(httpd, "PATH_INFO", info, curenvp++);
bozo_setenv(httpd, "CONTENT_TYPE", type, curenvp++);
bozo_setenv(httpd, "CONTENT_LENGTH", clen, curenvp++);
bozo_setenv(httpd, "SERVER_PORT", request->hr_serverport,
bozo_setenv(httpd, "REMOTE_HOST", request->hr_remotehost,
bozo_setenv(httpd, "REMOTE_ADDR", request->hr_remoteaddr,
bozo_setenv(httpd, "REDIRECT_STATUS", "200", curenvp++);