Removed HttpServer.
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.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace Duplicati.WebserverCore.Exceptions
|
||||
{
|
||||
public abstract class UserReportedHttpException(string? Message = null)
|
||||
: Exception(Message ?? "Error")
|
||||
{
|
||||
public abstract int StatusCode { get; }
|
||||
public virtual string ContentType => "application/json";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user