Author: lgiessmann Date: Tue Sep 13 06:31:06 2011 New Revision: 893
Log: gdl-frontend: Widgets: set the http-header to application/json in the requests defined in CommitCallback
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/CommitCallback.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/CommitCallback.java ============================================================================== --- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/CommitCallback.java Tue Sep 13 05:37:30 2011 (r892) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/CommitCallback.java Tue Sep 13 06:31:06 2011 (r893) @@ -106,6 +106,7 @@ String url = URL.encode(this.COMMIT_REQUEST_URL); RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, url); + builder.setHeader("Content-type", "application/json"); try{ // a check for an existing environment topic is not necessary, // since it would be exactly the same topic.