diff options
author | Andrew Azores <[email protected]> | 2013-08-13 13:54:10 -0400 |
---|---|---|
committer | Andrew Azores <[email protected]> | 2013-08-13 13:54:10 -0400 |
commit | 3f6158009745f971e7554750f96e1fdf07893720 (patch) | |
tree | 70b71d3d6e1aebe177fcb8406992c6278dce299e /tests/test-extensions/net/sourceforge/jnlp | |
parent | 5dc7c8c389b80ccb9c6fe969fc4685554ce79bc3 (diff) |
Removed HTTP 400 BAD REQUEST as it was unneeded (test server won't be checking anyway)
Diffstat (limited to 'tests/test-extensions/net/sourceforge/jnlp')
-rw-r--r-- | tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java b/tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java index 375019e..301dd3f 100644 --- a/tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java +++ b/tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java @@ -60,7 +60,6 @@ import java.util.StringTokenizer; public class TinyHttpdImpl extends Thread { private static final String CRLF = "\r\n"; - private static final String HTTP_BAD_REQUEST = "HTTP/1.0 " + HttpURLConnection.HTTP_BAD_REQUEST + " Bad Request" + CRLF; private static final String HTTP_NOT_IMPLEMENTED = "HTTP/1.0 " + HttpURLConnection.HTTP_NOT_IMPLEMENTED + " Not Implemented" + CRLF; private static final String HTTP_NOT_FOUND = "HTTP/1.0 " + HttpURLConnection.HTTP_NOT_FOUND + " Not Found" + CRLF; private static final String HTTP_OK = "HTTP/1.0 " + HttpURLConnection.HTTP_OK + " OK" + CRLF; @@ -125,7 +124,6 @@ public class TinyHttpdImpl extends Thread { if (!isHeadRequest && !isGetRequest) { ServerAccess.logOutputReprint("Received unknown request type " + request); - writer.writeBytes(HTTP_BAD_REQUEST); continue; } |