I couldn't find one, there probably is one though but you'd spend hours in the docs looking for it...

On Wednesday, March 27, 2013 at 11:45 AM, James Smith wrote:

> In src/main/java/com/bugsnag/http/HttpClient.java:
> > // Send request headers and body > - conn.getOutputStream().write(payload); > + byte[] buffer = new byte[1024]; > + int bytesRead; > + while ((bytesRead = payload.read(buffer)) != -1)  
> It seems strange that we have to buffer this manually, no built-in stream util to do this?
>  
> —
> Reply to this email directly or view it on GitHub (https://github.com/bugsnag/bugsnag-java/pull/1/files#r3557337).
>  
>  
>