hono 3.0.3 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -97,6 +97,8 @@ Thanks to [all contributors](https://github.com/honojs/hono/graphs/contributors)
|
|
|
97
97
|
|
|
98
98
|
Yusuke Wada <https://github.com/yusukebe>
|
|
99
99
|
|
|
100
|
+
"RegExpRouter" and "SmartRouter" are created by Taku Amano <https://github.com/usualoma>
|
|
101
|
+
|
|
100
102
|
## License
|
|
101
103
|
|
|
102
104
|
Distributed under the MIT License. See [LICENSE](LICENSE) for more information.
|
|
@@ -34,7 +34,10 @@ const etag = (options = { weak: false }) => {
|
|
|
34
34
|
await clone.blob();
|
|
35
35
|
c.res = new Response(null, {
|
|
36
36
|
status: 304,
|
|
37
|
-
statusText: "Not Modified"
|
|
37
|
+
statusText: "Not Modified",
|
|
38
|
+
headers: {
|
|
39
|
+
ETag: etag2
|
|
40
|
+
}
|
|
38
41
|
});
|
|
39
42
|
c.res.headers.delete("Content-Length");
|
|
40
43
|
} else {
|
|
@@ -12,7 +12,10 @@ var etag = (options = { weak: false }) => {
|
|
|
12
12
|
await clone.blob();
|
|
13
13
|
c.res = new Response(null, {
|
|
14
14
|
status: 304,
|
|
15
|
-
statusText: "Not Modified"
|
|
15
|
+
statusText: "Not Modified",
|
|
16
|
+
headers: {
|
|
17
|
+
ETag: etag2
|
|
18
|
+
}
|
|
16
19
|
});
|
|
17
20
|
c.res.headers.delete("Content-Length");
|
|
18
21
|
} else {
|