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
209 B
C#
7 lines
209 B
C#
namespace Duplicati.WebserverCore.Exceptions
|
|
{
|
|
public class ConflictException(string Message) : UserReportedHttpException(Message ?? "Conflict")
|
|
{
|
|
public override int StatusCode => 409;
|
|
}
|
|
} |