Support no-content (204) requests in BasicNetwork.
Support no-content (204) requests in BasicNetwork.

When we get an empty response for say, a 204, we create a 0 byte
response and pass it on to the NetworkResponse.  Implementers
of Request can then return appropriate Responses.  The behavior
before this change results in an NPE because we attempt to
getContentLength() bytes from a null entity..

Change-Id: Ia5f92ffd99b8f3e88cc92dc50ba43c4721d83e79
Signed-off-by: Ray Colline <2190d3f3e8b4cea5b50e5dac026799180e6b5e8a@google.com>

XinyueZ/GoogleVolley,nguyenhuy/volley,rfdy/volley,RandoApp/volley,RandoApp/volley,google/volley,google/volley,gsmiro/volley