src/Neutrino/HttpClient/Provider/StreamContext.php
protected function streamContextExec($context)
    {
        if ($this->method !== Method::HEAD) {
            $content = file_get_contents($this->uri->build(), false, $context);

            $this->streamContextParseHeader($http_response_header);

            return ($this->fullResponse ? implode("\r\n", $http_response_header) . "\r\n\r\n" : '') . $content;
        }

        try {
            $handler = fopen($this->uri->build(), 'r', null, $context);

            $this->streamContextParseHeader($http_response_header);

            return '';
        } finally {
            if (isset($handler) && is_resource($handler)) {
                fclose($handler);
            }
        }
    }
protected function streamContextExec($context)
    {
        if ($this->method !== Method::HEAD) {
            $content = file_get_contents($this->uri->build(), false, $context);

            $this->streamContextParseHeader($http_response_header);

            return ($this->fullResponse ? implode("\r\n", $http_response_header) . "\r\n\r\n" : '') . $content;
        }

        try {
            $handler = fopen($this->uri->build(), 'r', null, $context);

            $this->streamContextParseHeader($http_response_header);

            return '';
        } finally {
            if (isset($handler) && is_resource($handler)) {
                fclose($handler);
            }
        }
    }
@param $context

@return string