Method HTTPClientResponse.readRawBody
Provides an unsafe maeans to read raw data from the connection.
No transfer decoding and no content decoding is done on the data.
Not that the provided delegate is required to consume the whole stream, as the state of the response is unknown after raw bytes have been taken.
Prototype
void readRawBody( scope void delegate(scope InputStream) del );
Authors
Sönke Ludwig, Jan Krüger
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.