checkout-files
checkout-files copied to clipboard
use format:raw for files outside format:json limit
Closes https://github.com/Bhacaz/checkout-files/issues/3 Builds on the idea of PR: https://github.com/Bhacaz/checkout-files/pull/9
format: raw
will return files up to 10MB. This pr provides a way to fallback to a format: raw
request if there is no decoded content in a file expected to have content.
@jordanmnunez Thanks for the PR very appreciated 😄 .
Works fine as it's!
I have a question, can we just always use the mediaType: raw
? This will prevent to sometimes do 2 API call if the file is bigger than 1mb.
I'll wait for your response about my question, otherwise this is good to go!