88[ ![ test] ( https://github.com/httpland/http-utils/actions/workflows/test.yaml/badge.svg )] ( https://github.com/httpland/http-utils/actions/workflows/test.yaml )
99[ ![ NPM] ( https://nodei.co/npm/@httpland/http-utils.png?mini=true )] ( https://nodei.co/npm/@httpland/http-utils/ )
1010
11- HTTP utility collection for Fetch API.
11+ HTTP utility collection.
12+
13+ Compliant with [ RFC 9110] ( https://www.rfc-editor.org/rfc/rfc9110 ) .
1214
1315## Request
1416
1517Utilities for ` Request ` object.
1618
19+ @deprecated Move to [ request-utils] ( https://github.com/httpland/request-utils ) .
20+
1721### equalsRequest
1822
1923Check two ` Request ` fields equality.
@@ -82,6 +86,9 @@ assertEquals(isRequest(null), false);
8286
8387Utilities for ` Response ` object.
8488
89+ @deprecated Move to
90+ [ response-utils] ( https://github.com/httpland/response-utils ) .
91+
8592### equalsResponse
8693
8794Check two ` Response ` fields equality.
@@ -150,6 +157,8 @@ Utilities for `Headers` object.
150157
151158### equalsHeaders
152159
160+ @deprecated Move to [ headers-utils] ( https://github.com/httpland/headers-utils ) .
161+
153162Check two ` Headers ` field name and field value equality.
154163
155164``` ts
@@ -168,6 +177,8 @@ assertEquals(
168177
169178### filterKeys
170179
180+ @deprecated Move to [ headers-utils] ( https://github.com/httpland/headers-utils ) .
181+
171182Returns a new ` Headers ` with all entries of the given headers except the ones
172183that have a key(header name or field name) that does not match the given
173184predicate.
@@ -504,6 +515,10 @@ HTTP message is following union types:
504515
505516### withHeader
506517
518+ @deprecated Move to [ request-utils] ( https://github.com/httpland/request-utils ) .
519+ @deprecated Move to
520+ [ response-utils] ( https://github.com/httpland/response-utils ) .
521+
507522Return an instance with the provided value replacing the specified header. There
508523are no side effects on the original target.
509524
0 commit comments