Skip to content

Commit

Permalink
volley 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Jun 2, 2018
1 parent f918b82 commit 9dfa602
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.android.tools.build:gradle:3.1.1'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
}
}

Expand All @@ -33,12 +35,12 @@ group = 'com.android.volley'
version = '1.1.0-SNAPSHOT'

android {
compileSdkVersion 24
buildToolsVersion = '25.0.3'
compileSdkVersion 26
buildToolsVersion = '27.0.3'
}

dependencies {
}

apply from: 'rules.gradle'
apply from: 'bintray.gradle'
//apply from: 'bintray.gradle'
2 changes: 1 addition & 1 deletion src/main/java/com/android/volley/toolbox/HurlStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ private static void addBodyIfExists(HttpURLConnection connection, Request<?> req
addBody(connection, request, body);
} else if (request.providesBodyInCallback()) {
connection.setDoOutput(true);
connection.addRequestProperty(HEADER_CONTENT_TYPE, request.getBodyContentType());
connection.addRequestProperty(HttpHeaderParser.HEADER_CONTENT_TYPE, request.getBodyContentType());
request.provideBody(connection);
}
}
Expand Down

0 comments on commit 9dfa602

Please sign in to comment.