Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
1. Multipart entity submit fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
TarasKunyk committed Apr 28, 2015
1 parent 369b256 commit 85a8476
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ android {

packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
}
}

Expand Down
Binary file added library/libs/httpclient-android-4.3.5.jar
Binary file not shown.
Binary file removed library/libs/httpcore-4.4.1.jar
Binary file not shown.
Binary file added library/libs/httpmime-4.3.6.jar
Binary file not shown.
Binary file removed library/libs/httpmime-4.4.1.jar
Binary file not shown.
1 change: 0 additions & 1 deletion library/src/main/java/com/ls/drupal/DrupalClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ protected ResponseData performRequestNoLoginRestore(BaseRequest request, Object
this.onNewRequestStarted();
return request.performRequest(synchronous, queue);
}else{
// L.e("Request was rejected:"+request.getUrl());
return null;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private void formMultipartEntity(Object source)
if(value != null)
{
if(value instanceof IMultiPartEntityPart) {
ContentBody body = ((IMultiPartEntityPart)source).getContentBody();
ContentBody body = ((IMultiPartEntityPart)value).getContentBody();
entity.addPart(name,body);
}else{
entity.addTextBody(name,value.toString());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ public void onRequestCompleted(AbstractBaseDrupalEntity entity, Object tag, Resp
applyNoImageDrawableIfNeeded();
}

// L.e("Request completed for:"+tag);
if(imageLoadingListener != null)
{
imageLoadingListener.onImageLoadingComplete(DrupalImageView.this,image);
Expand Down

0 comments on commit 85a8476

Please sign in to comment.