Strip trailing whitespace.
This commit is contained in:
@@ -360,7 +360,7 @@ class NativeHTTPRequest
|
|||||||
|
|
||||||
return promise.future;
|
return promise.future;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function buildBuffer() {
|
private function buildBuffer() {
|
||||||
bytes = buffer.getBytes();
|
bytes = buffer.getBytes();
|
||||||
return bytes;
|
return bytes;
|
||||||
@@ -392,9 +392,9 @@ class NativeHTTPRequest
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function curl_onWrite(curl:CURL, output:Bytes):Int
|
private function curl_onWrite(curl:CURL, output:Bytes):Int
|
||||||
{
|
{
|
||||||
buffer.addBytes(output, 0, output.length);
|
buffer.addBytes(output, 0, output.length);
|
||||||
|
|
||||||
return output.length;
|
return output.length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user