💾 Archived View for code.lanterne.chilliet.eu › vendor › mcmic › gemini-server › src › Response › Su… captured on 2024-07-08 at 23:39:18.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
<?php declare(strict_types=1); namespace MCMic\Gemini\Response; use MCMic\Gemini; class Success extends Gemini\Response { public function __construct(string $body = '', string $mimetype = 'text/gemini', string $lang = '', string $charset = '') { if ($charset !== '') { $mimetype .= '; charset=' . $charset; } if ($lang !== '') { $mimetype .= '; lang=' . $lang; } parent::__construct(20, $mimetype, $body); } }