Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/Requests.php
Original file line number Diff line number Diff line change
Expand Up @@ -738,10 +738,8 @@

$headers = substr($return->raw, 0, $pos);
// Headers will always be separated from the body by two new lines - `\n\r\n\r`.
$body = substr($return->raw, $pos + 4);

Check warning on line 741 in src/Requests.php

View workflow job for this annotation

GitHub Actions / PHPCS

Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
if (!empty($body)) {
$return->body = $body;
}
$return->body = $body;
}

// Pretend CRLF = LF for compatibility (RFC 2616, section 19.3)
Expand Down
Loading