History log of /frameworks/base/core/java/android/net/http/Request.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6ead8f6771fdc80d3ac67e174066b674f688b2d6 24-Apr-2010 Grace Kloba <klobag@google.com> Restrict the range request to the servers claiming
that they accept ranges. This may be too restrict as
the spec says the server MAY set this in the response
header. But this is the last minute change made in
https://android-git.corp.google.com/g/#change,49444
I think it is safer to be conservative.

Fix http://b/issue?id=2616477
/frameworks/base/core/java/android/net/http/Request.java
52e41583f58132ae109c632b51f8419c4c2225d6 22-Apr-2010 Grace Kloba <klobag@google.com> Added the subset of partial content support so that
we can continue the interrupted request to support
streaming the content even with a brief disconnection.

Note: we don't update the headers for partial content
as the headers we care should not be updated. See
a list in chromium/net/http/http_response_headers.cc.

We currently also don't support cache for partial content.

Fix http://b/issue?id=2616477
/frameworks/base/core/java/android/net/http/Request.java
5b494c1ca4c3cf0e0992c59fe34ae66c81e6dcce 12-Mar-2010 Ben Murdoch <benm@google.com> Add an API on the Java side to allow WebKit to pause the current load. This is used when the plugin is streaming data but it's
buffer is full. In that case, WebCore instructs the laoder to pause loading to give the plugin a chance to clear it's buffer and
continue.

Requires an external/webkit change.

Change-Id: Iec96a6325d92e979cbdc53289c2a20cad940ded2
/frameworks/base/core/java/android/net/http/Request.java
c319c69b1228f5eee2f9d71a71ad021f3d8ba82b 20-Jul-2009 Patrick Scott <phanna@android.com> Allow 205 and 305 to have content.

205 is interpreted by Safari to be like 200 and show the given content. Change
canHaveResponseBody to allow 205 to have a body.

305 is a very rare server response indicating to the client to use the given
Location header as a proxy and reissue the original request. Curl doesn't do
anything with this header and neither does internal networking code. For now,
we will just allow the response body to propagate to webcore.
/frameworks/base/core/java/android/net/http/Request.java
fe4fec7c66b0d956f008ead0fd899b588cfacb5d 14-Jul-2009 Patrick Scott <phanna@android.com> Remove all our old high priority knowledge since WebCore will manage it.

Also removed an unused variable in RequestQueue.java.
/frameworks/base/core/java/android/net/http/Request.java
7cd64bd7e7425408f0dc7e1212e81950a7dab217 10-Jun-2009 Grace Kloba <klobag@google.com> Fix #1907439. If there is uncommitted content when gzipped content got EOFException, we need to commit them.
/frameworks/base/core/java/android/net/http/Request.java
45efe69f8019f9743aef4d2b4eb6acf56ea0551f 09-May-2009 Grace Kloba <klobag@google.com> Fix #1807059. If it is "POST", always use BasicHttpEntityEnclosingRequest even bodyProvider is null. This ensures the content-type, content-encoding and content-length are set correctly.
/frameworks/base/core/java/android/net/http/Request.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/net/http/Request.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/net/http/Request.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/net/http/Request.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/net/http/Request.java