diff --git a/v3/UNRELEASED_CHANGELOG.md b/v3/UNRELEASED_CHANGELOG.md index 8e4648038..09daa80fe 100644 --- a/v3/UNRELEASED_CHANGELOG.md +++ b/v3/UNRELEASED_CHANGELOG.md @@ -1,6 +1,6 @@ # Unreleased Changes - +- Added missing window name to request headers, so it can be logged with the window ID by @jasikpark in [#4687](https://github.com/wailsapp/wails/pull/4687) ## Deprecated diff --git a/v3/pkg/application/application.go b/v3/pkg/application/application.go index 9eab7b778..9de8ebe0e 100644 --- a/v3/pkg/application/application.go +++ b/v3/pkg/application/application.go @@ -304,6 +304,7 @@ func (r *webViewAssetRequest) Header() (http.Header, error) { hh := h.Clone() hh.Set(webViewRequestHeaderWindowId, strconv.FormatUint(uint64(r.windowId), 10)) + hh.Set(webViewRequestHeaderWindowName, r.windowName) return hh, nil }