Commit f17d0a0a authored by Zachary Giles's avatar Zachary Giles

Fixing another other space issue

parent 9b584774
......@@ -665,8 +665,8 @@ public class LocationUpdateService extends Service implements LocationListener {
StringEntity se = new StringEntity(params.toString());
request.setEntity(se);
request.setHeader("Accept", "application/json");
request.setHeader("Content-type", "application/json");
request.setHeader("Accept", "application/json");
request.setHeader("Content-type", "application/json");
Iterator<String> headkeys = headers.keys();
while( headkeys.hasNext() ){
......@@ -675,7 +675,7 @@ public class LocationUpdateService extends Service implements LocationListener {
Log.d(TAG, "Adding Header: " + headkey + " : " + (String)headers.getString(headkey));
request.setHeader(headkey, (String)headers.getString(headkey));
}
}
}
Log.d(TAG, "Posting to " + request.getURI().toString());
HttpResponse response = httpClient.execute(request);
Log.i(TAG, "Response received: " + response.getStatusLine());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment