diff --git a/sigServer.java b/sigServer.java index c9310d5..f6c1cfc 100644 --- a/sigServer.java +++ b/sigServer.java @@ -141,7 +141,11 @@ public class sigServer { } } else if (splitter[0].equals("POST")) { //This is a POST request. - CreateRequest(client,"501","Not Implemented","testfile.html"); + if (boundary!=null) { + CreateRequest(client,"200","OK","testfile.html"); + } else { + CreateRequest(client,"400","Bad Request","testfile.html"); + } } else { CreateRequest(client,"501","Not Implemented","testfile.html"); }