diff --git a/HTTP/HttpRequest.cs b/HTTP/HttpRequest.cs index 37264f1..8146b1d 100644 --- a/HTTP/HttpRequest.cs +++ b/HTTP/HttpRequest.cs @@ -24,7 +24,7 @@ public class HttpRequest /// /// Additional paramters in the path of the request. /// - public NameValueCollection? Query; + public NameValueCollection Query; /// /// HTTP header fields included in the request. @@ -46,11 +46,6 @@ public class HttpRequest /// public bool Valid => Method != HttpMethod.Any && Path.StartsWith('/'); - internal HttpRequest() - { - Fields = new HttpFields(); - } - public HttpRequest(HttpMethod method, string path, HttpContent? content = null) : this(method, path, new HttpFields(), content) { }