@webpodjs/net-worker 0.2.3 → 0.2.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
@@ -11,6 +11,11 @@ produces frames into `toEngine`.
11
11
  HTTPS too after TLS interception with the pod CA, WebSocket upgrades through the browser's
12
12
  `WebSocket`; optionally a CORS proxy (docs/cors-proxy-protocol.md) and an L4 relay for raw TCP
13
13
  (docs/relay-protocol.md).
14
+ A body `fetch()` decoded (gzip, br, deflate) reaches the guest decoded, without `Content-Encoding`
15
+ and `Content-Length`, chunked (`X-Webpod-Content-Encoding` says the coding). A target that exposes
16
+ none of its response headers to the page shows its `Content-Length` but not its coding: its
17
+ responses lose `Content-Length` too, coded or not (T267), so a direct download of such a target
18
+ shows no total size (curl's or npm's progress); a CORS proxy route keeps the length.
14
19
  - **Inbound**: page connections (`pod.fetch`, `pod.net.connect`, `pod.net.expose` previews)
15
20
  arrive as `inbound` MessagePorts and become TCP connections to the guest.
16
21
 
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webpodjs/net-worker",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Net Worker for webpod: the guest's gateway (webpod-net NetStack), browser egress and page connections",
5
5
  "keywords": [
6
6
  "webpod",