@adviser/cement 0.2.44 → 0.2.45

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/index.cjs CHANGED
@@ -2783,6 +2783,9 @@ var HttpHeader = class _HttpHeader {
2783
2783
  this._headers = /* @__PURE__ */ new Map();
2784
2784
  }
2785
2785
  static from(headers) {
2786
+ if (headers instanceof _HttpHeader) {
2787
+ return headers.Clone();
2788
+ }
2786
2789
  const h = new _HttpHeader();
2787
2790
  if (headers) {
2788
2791
  if (Array.isArray(headers)) {