diff options
| author | Jesse Wilson <jessewilson@google.com> | 2012-01-25 18:16:56 -0500 |
|---|---|---|
| committer | Jesse Wilson <jessewilson@google.com> | 2012-01-26 11:34:22 -0500 |
| commit | a468471e8ccc2f642d5b2ae3c75873a74267ece2 (patch) | |
| tree | 47f26b5993c3fabfe0bdc894a469241a66443478 /annotations/generate_annotated_java_files.py | |
| parent | cc676d34e461aefaf17bb33573308eaa63de338b (diff) | |
Don't throw needlessly when returning the CacheResponse.
We were throwing under the premise that we'd always have
response headers before we had a cached body. But when the
user calls connect() we'll have queried the cache but we
won't necessarily have response headers from the server yet.
That's because connect() doesn't require a response to be ready.
Bug: http://b/5920659
Cherry-picked from: I9d69b44b5be3d0e29f14d8b83781f6e65c67582a
Change-Id: Ia403b42ddc9783fd1456164f4b7350da3ce80566
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions
