nette/http

Allow disabling same-site cookie

dakorpar opened this issue · 0 comments

currently in HttpExtension initCookie is allways being added

$this->initialization->addBody(
	'Nette\Http\Helpers::initCookie($this->getService(?), $response);',
	[$this->prefix('request')]
);

sometimes we just have REST api, do not deal with sessions and are not using cookies at all, so would be cool if we can disable this as well...