Not in the build. Allow POST requests to handle special cases too.

This commit is contained in:
gagan%netscape.com 2000-06-27 22:10:27 +00:00
Родитель 48de886023
Коммит 0213999afa
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -105,7 +105,9 @@ class ScriptFile {
if (s.startsWith("START")) {
// Check to see if this was in the requested URL
String filename = new String ("GET " + s.substring(6));
if (request.startsWith(filename))
String otherfilename = new String("POST " + s.substring(6));
if (request.startsWith(filename) ||
request.startsWith(otherfilename))
{
continue;
}

Просмотреть файл

@ -105,7 +105,9 @@ class ScriptFile {
if (s.startsWith("START")) {
// Check to see if this was in the requested URL
String filename = new String ("GET " + s.substring(6));
if (request.startsWith(filename))
String otherfilename = new String("POST " + s.substring(6));
if (request.startsWith(filename) ||
request.startsWith(otherfilename))
{
continue;
}