Create NotAcceptable.cs
This commit is contained in:
parent
523cdb8ad2
commit
38251d1328
1 changed files with 11 additions and 0 deletions
11
HTTP/Responses/NotAcceptable.cs
Normal file
11
HTTP/Responses/NotAcceptable.cs
Normal 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)
|
||||
{
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue