Create NotAcceptable.cs

This commit is contained in:
uwaa 2024-11-13 01:39:19 +00:00
parent 523cdb8ad2
commit 38251d1328

View file

@ -0,0 +1,11 @@
namespace Uwaa.HTTP.Responses;
/// <summary>
/// An error caused by a client requesting an unavailable format.
/// </summary>
public class NotAcceptable : HttpResponse
{
public NotAcceptable(HttpContent? body = null) : base(406, "Not Acceptable", body)
{
}
}