Implement status codes based on file upload success

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2 3 years ago
parent fdbbcb98df
commit e46476c05d
  1. 6
      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");
}

Loading…
Cancel
Save