validate profile on upload

This commit is contained in:
Norbert Renner 2014-05-27 18:15:41 +02:00
parent afa498637a
commit 7f50da9b16
2 changed files with 55 additions and 2 deletions

View file

@ -70,7 +70,7 @@ public class RouteServer extends Thread
}
else if ( url.startsWith( PROFILE_UPLOAD_URL ) )
{
writeHttpHeader(bw);
writeHttpHeader(bw, "application/json");
String profileId = null;
if ( url.length() > PROFILE_UPLOAD_URL.length() + 1 )