Fixes issue 2060. The readURL* and readFile* methods assumed that InputStream.read(byte[]) would always read the requested number of bytes before returning. Patch by: mmendez Review by: scottb git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1795 8db76d5a-ed1c-0410-87a9-c151d255dfc7