Skip to content

Fix Talkwalker report sections#2546

Merged
Fosol merged 1 commit intobcgov:devfrom
Fosol:talkwalker
Jan 24, 2026
Merged

Fix Talkwalker report sections#2546
Fosol merged 1 commit intobcgov:devfrom
Fosol:talkwalker

Conversation

@Fosol
Copy link
Collaborator

@Fosol Fosol commented Jan 24, 2026

Fixing/debugging issue related to Talkwalker report sections. Talkwalker is now compressing their files so we need to handle this scenario.

@Fosol Fosol self-assigned this Jan 24, 2026
@Fosol Fosol added bug Something isn't working subscriber PR contains changes towards the subscriber application, labels Jan 24, 2026
var readStream = await response.Content.ReadAsStreamAsync();

// If server sent gzip but didn't tell HttpClient to decompress → handle manually
if (response.Content.Headers.ContentEncoding.Contains("gzip"))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the main fix. The other changes are for logging and debugging.

@Fosol Fosol merged commit 45d74d0 into bcgov:dev Jan 24, 2026
1 check passed
@Fosol Fosol deleted the talkwalker branch January 24, 2026 19:44
Fosol added a commit to Fosol/tno that referenced this pull request Jan 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working subscriber PR contains changes towards the subscriber application,

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant