From 982611299e66933b9f4dd1c93002b87cef0707f4 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Mon, 11 Nov 2024 13:08:34 +0000
Subject: [PATCH] Pruefung auf HTTP-Methode in Handler aufgenommen

---
 src/de/uhilger/neon/HttpResponder.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/de/uhilger/neon/HttpResponder.java b/src/de/uhilger/neon/HttpResponder.java
index 5c9d497..8f85f57 100644
--- a/src/de/uhilger/neon/HttpResponder.java
+++ b/src/de/uhilger/neon/HttpResponder.java
@@ -45,7 +45,10 @@
   /* Statuscodes */
   public static final int SC_OK = 200;
   public static final int SC_NOT_FOUND = 404;
-  
+  public static final int SC_METHOD_NOT_ALLOWED = 405;
+  public static final int SC_UNPROCESSABLE_ENTITY = 422;
+  public static final int SC_INTERNAL_SERVER_ERROR = 500;
+
   /* String Konstanten */
   public static final String STR_BYTES = "bytes";
   public static final String STR_NOT_FOUND = " not found.";

--
Gitblit v1.9.3