Refactored some things in the http package
This commit is contained in:
parent
e091a9abe6
commit
f77a757b6d
5 changed files with 74 additions and 112 deletions
|
|
@ -194,7 +194,7 @@ public class HttpServer extends ThreadedTCPNetworkServer{
|
|||
tmp.contains("text/xml") ||
|
||||
tmp.contains("text/plain")) {
|
||||
// save the variables
|
||||
header.putURLAttribute("", tmpBuff.toString());
|
||||
header.getUrlAttributeMap().put("", tmpBuff.toString());
|
||||
} else if (tmp.contains("multipart/form-data")) {
|
||||
// TODO: File upload
|
||||
throw new UnsupportedOperationException("HTTP Content-Type 'multipart-form-data' not supported.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue