Skip to content
Open
Changes from all commits
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
2 changes: 1 addition & 1 deletion browse.php
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ public function readHeader($handle, $header) {

# Extract the status code (can occur more than once if 100 continue)
if ( $this->status == 0 || ( $this->status == 100 && ! strpos($header, ':') ) ) {
$this->status = substr($header, 9, 3);
$this->status = explode(" ", $header)[1];
}

# Attempt to extract header name and value
Expand Down