Implemented InfoNameLib

This commit is contained in:
UnlegitDqrk
2026-02-22 16:00:57 +01:00
parent abc989a675
commit d715c0758d
27 changed files with 2589 additions and 3 deletions

View File

@@ -262,6 +262,7 @@ public final class WebCompatMapper {
return switch (method) {
case GET -> "GET";
case POST, EXECUTE, SCRIPT -> "POST";
default -> "GET";
};
}
@@ -274,7 +275,7 @@ public final class WebCompatMapper {
public static WebRequestMethod map100BMethod(String method) {
if (method == null) return WebRequestMethod.GET;
return switch (method.toUpperCase()) {
case "POST" -> WebRequestMethod.POST;
case "POST", "SCRIPT", "EXECUTE" -> WebRequestMethod.POST;
default -> WebRequestMethod.GET;
};
}