Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Fix api implementation in Remix tutorial throws a decoding error when less than 10 records are returned #9448

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

erwanMarmelab
Copy link
Contributor

@erwanMarmelab erwanMarmelab commented Nov 15, 2023

Problem

In the Remix tuto, RA had a decoding error (net::ERR_CONTENT_DECODING_FAILED) on query that have less than 10 results.

Solution

Add accept Accept-Encoding prop to header of the query

Issue

Closes #9445

@erwanMarmelab erwanMarmelab added the RFR Ready For Review label Nov 15, 2023
@erwanMarmelab erwanMarmelab changed the title [Doc] Update remix tuto [Doc] Fix remix tuto heading query Nov 15, 2023
Copy link
Contributor

@slax57 slax57 left a comment

Choose a reason for hiding this comment

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

I must admit I fail to understand why this fix works, but I could confirm it does, so I'll accept it.
Kudos @ShaneC112 for finding it!

@slax57 slax57 changed the title [Doc] Fix remix tuto heading query [Doc] Fix api implementation in Remix tutorial throws a decoding error when less than 10 records are returned Nov 15, 2023
@slax57 slax57 added this to the 4.15.5 milestone Nov 15, 2023
@slax57 slax57 merged commit 56faa27 into master Nov 15, 2023
5 checks passed
@slax57 slax57 deleted the Update-Remix-tuto-in-doc branch November 15, 2023 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remix & Supabase Example possible correction
2 participants