src/Weew/Http/HttpRequest.php
protected function setDefaults() {
        if ($this->getAccept() === null) {
            $this->setDefaultAccept();
        }

        if ($this->getContentType() === null) {
            $this->setDefaultContentType();
        }
    }
protected function setDefaults() {
        if ($this->getAccept() === null) {
            $this->setDefaultAccept();
        }

        if ($this->getContentType() === null) {
            $this->setDefaultContentType();
        }
    }
protected function setDefaults ( ) { if ( $ this -> getAccept ( ) === null ) { $ this -> setDefaultAccept ( ) ; } if ( $ this -> getContentType ( ) === null ) { $ this -> setDefaultContentType ( ) ; } }
Use this as hook to extend your custom request.
Use this as hook to extend your custom request .