iboot-http-client 1.4.2 → 1.4.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.
@@ -1510,7 +1510,7 @@ function wr() {
1510
1510
  }
1511
1511
  return u.exports;
1512
1512
  }
1513
- typeof t < "u" && (t.ab = __dirname + "/");
1513
+ typeof t < "u" && (t.ab = import.meta.dirname + "/");
1514
1514
  var o = t(226);
1515
1515
  Ye.exports = o;
1516
1516
  })()), Ye.exports;
@@ -1644,7 +1644,7 @@ class Fr {
1644
1644
  }
1645
1645
  class Br {
1646
1646
  async parseRequest(e) {
1647
- const t = new URL(Qt(e)), o = e.req.method, n = e.req.headers.get(W) || "", s = Zt(e);
1647
+ const t = Qt(e), o = e.req.method, n = e.req.headers.get(W) || "", s = Zt(e);
1648
1648
  let u, r;
1649
1649
  if (o !== "GET") {
1650
1650
  if (n.includes(M.applicationJson))