e7cdf98078bc94a2e430d9edef7e9b01250765ac |
|
19-May-2014 |
Miguel A. Martin <miguel@schibstediberica.es> |
Fixes bug in PATCH method. Sets the method before setting the body. Just look at PUT and POST methods some lines above. The method is set before calling to addBodyIfExists(). The method should be set before adding the body. Otherwise, some libraries will try to establish a connection with the wrong method (GET by default). Change-Id: I993a62cdc5cbccbf54f9bae4f6b183e2edf4304d
/frameworks/volley/src/com/android/volley/toolbox/HurlStack.java
|
364614be46d20fba35c3b6bc1c2d43fe8e861e9c |
|
12-Nov-2013 |
Maurice Chu <mochu@google.com> |
Revert "Revert "Add in additional http request types"" This reverts commit 9e5c44f22b47fcb0d37c7b10de3b5db542424fa5. Also, to run tests, the android:targetPackage in the <instrumentation>needs to be set to com.android.volley.tests (i.e., the volley_tests apk itself) because volley is just a jar that is statically linked into the test apk. Change-Id: I41ad41e401084b79fbf9712e24d7f7fdeb358223
/frameworks/volley/src/com/android/volley/toolbox/HurlStack.java
|
05a1b0edb25ed84c95523df7a81bd87a44b697d7 |
|
21-May-2013 |
Jake Wharton <jakewharton@gmail.com> |
Allow override point for connection creation. This provides an easy insertion point for alternate implementations of the HttpUrlConnection API (e.g., OkHttp). Change-Id: I84482c7a66ce7106680d2efc9865743b8ecb0248
/frameworks/volley/src/com/android/volley/toolbox/HurlStack.java
|
3f081a83d5ed92d4e6ec4abf87137cb246d92d0c |
|
01-Apr-2013 |
Dan Morrill <morrildl@sententio.us> |
Fix a bug in POSTs & support SslSocketFactories. For POSTs and PUTs, HttpURLConnection requires that you set the method before you write any body data. i.e. writing body data causes the socket to be opened, at which point you can't set the method anymore. Volley was calling these two methods in the wrong order; this fixes that. Separately, this also adds a constructor and appropriate support for a caller-provided SslSocketFactory. The use case for this is self-signed certs, where a developer's app is is preloaded with the public key for a specific server cert not signed by one of the usual CAs. The caller is responsible for setting up the socket factory with an appropriate keystore, etc. Change-Id: I2738ce956202b8a8508a733fc7f8b6600cd19bf5
/frameworks/volley/src/com/android/volley/toolbox/HurlStack.java
|
9e5c44f22b47fcb0d37c7b10de3b5db542424fa5 |
|
13-Feb-2013 |
Maurice Chu <mochu@google.com> |
Revert "Add in additional http request types" This seems to have caused a regression with account sign-up. This reverts commit bece5836e16897df162e4f4db302b6eb14ac71b2 Change-Id: I019f98b984e496558e1830fec4d810fd589652db
/frameworks/volley/src/com/android/volley/toolbox/HurlStack.java
|
bece5836e16897df162e4f4db302b6eb14ac71b2 |
|
07-Feb-2013 |
Maurice Chu <mochu@google.com> |
Add in additional http request types Specifically, these are HEAD, OPTIONS, TRACE, and PATCH. Change-Id: Ie33fdc059ca7bb0658de7e270e2af56f54a00481
/frameworks/volley/src/com/android/volley/toolbox/HurlStack.java
|
e48f4430bfd3030350aa5ba827b449c37e2fadc9 |
|
07-Nov-2012 |
Jean-Baptiste Queru <jbq@google.com> |
Initial commit of volley (from frameworks/support) Change-Id: Ie583820dcd5f281db7b9845f0c78774e1863afd3
/frameworks/volley/src/com/android/volley/toolbox/HurlStack.java
|
d56b88ae161057e848e7410d1b9ce5b0b8c427fc |
|
07-Nov-2012 |
Jean-Baptiste Queru <jbq@google.com> |
Initial commit of volley (from frameworks/support) Change-Id: I12ada622c3885da6994cc2ff40cd275e1d5311e2
/frameworks/volley/src/com/android/volley/toolbox/HurlStack.java
|