pica/request/redirect.cpp

13 lines
372 B
C++
Raw Permalink Normal View History

2023-12-30 19:42:11 -03:00
//SPDX-FileCopyrightText: 2023 Yury Gubich <blue@macaw.me>
//SPDX-License-Identifier: GPL-3.0-or-later
2023-12-28 17:26:08 -03:00
#include "redirect.h"
Redirect::Redirect(Accepting* destination):
destination(destination)
{}
const char* Redirect::what() const noexcept {
return "This is a redirect, should have beeh handled in router, but if you see it - something went terrebly wrong";
2023-12-30 19:42:11 -03:00
}