src/Request.php
public function setExt($ext) {
        if ($ext) {
            $this->env['EXT'] = '.'.ltrim($ext, '.');
        } else {
            $this->env['EXT'] = '';
        }
        return $this;
    }
public function setExt($ext) {
        if ($ext) {
            $this->env['EXT'] = '.'.ltrim($ext, '.');
        } else {
            $this->env['EXT'] = '';
        }
        return $this;
    }
Sets the file extension of the request.

@param string $ext The file extension to set.
@return Request Returns $this for fluent calls.