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

Allow content payload exceeds 1MB #41

Open
zhang699 opened this issue Jul 29, 2022 · 0 comments · May be fixed by #42
Open

Allow content payload exceeds 1MB #41

zhang699 opened this issue Jul 29, 2022 · 0 comments · May be fixed by #42

Comments

@zhang699
Copy link

zhang699 commented Jul 29, 2022

since Get repository content would use base64-encoded when size less than 1MB, but when the size exceed 1MB, the encoded payload became empty ''

{
  content: ""
  download_url: "https://raw.githubusercontent.com/zhang699/translations/b11706c2aff98a97988faf9d38a873565053d4c7/xxx.json?token=ABIL4IH7KXMQWJ2IS5LK7TTC4O3FG"
  encoding: "none"
}

one of solution I think we can use download_url to fetch the raw

@zhang699 zhang699 linked a pull request Aug 9, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant