mirror of
https://github.com/duplicati/duplicati.git
synced 2026-05-08 08:09:32 -04:00
9f79025744
Re-implemented everything using ASP.NET. Changed some requests to use JSON instead of FORM data. Some work towards deleting the FIXMEGlobal instance. Auth is missing, XSRF does not work correctly.
7 lines
205 B
C#
7 lines
205 B
C#
namespace Duplicati.WebserverCore.Exceptions;
|
|
|
|
public class BadRequestException(string? Message = null) : UserReportedHttpException(Message ?? "Bad Request")
|
|
{
|
|
public override int StatusCode => 400;
|
|
}
|