mirror of
https://github.com/duplicati/duplicati.git
synced 2026-05-08 16:19:38 -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.
9 lines
305 B
C#
9 lines
305 B
C#
|
|
namespace Duplicati.WebserverCore.Exceptions;
|
|
|
|
public class TextOutputErrorException(string message, int statusCode = 200, string contentType = "text/plain") : UserReportedHttpException(message)
|
|
{
|
|
public override int StatusCode => statusCode;
|
|
public override string ContentType => contentType;
|
|
}
|