-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
fix(remix-architect,remix-netlify): fix typo in binaryTypes
#4041
fix(remix-architect,remix-netlify): fix typo in binaryTypes
#4041
Conversation
|
Hi @kamtugeza, Welcome, and thank you for contributing to Remix! Before we consider your pull request, we ask that you sign our Contributor License Agreement (CLA). We require this only once. You may review the CLA and sign it by adding your name to contributors.yml. Once the CLA is signed, the If you have already signed the CLA and received this response in error, or if you have any questions, please contact us at hello@remix.run. Thanks! - The Remix team |
Thank you for signing the Contributor License Agreement. Let's get this merged! 🥳 |
I'm not sure should that goes to the discussion section or that could be done here, but I've compared types from that file with types from mime-types (thanks to @wingleung for his note in his fork of Remix Architect). The library has all needed types except:
I've not found reliable info about those types. I'm not sure if they are valid, and it seems okay to check binary types by the |
binaryTypes
this list started as a form of the list that architect keeps, but i'm down to looking into using mime-types if we can |
@kamtugeza 👍 yes, I wrote a todo about it because I couldn't find a I see now in the AWS docs that ALB and both api gateway versions already pass a property called And for the other adapters like netlify, we need to check if they have a similar property to this. |
binaryTypes
binaryTypes
Here is my silly question: do we have a situation where we should have an empty body, and a response should be "binary"? 🙃 I ask that because we check a response encoding by the So why don’t we do a simple check, does the |
binaryTypes
binaryTypes
🤖 Hello there, We just published version Thanks! |
Closes: #4040
That's a tiny typo in the remix-architect/binaryTypes.ts at line 36. I suppose there should be two types
audio/wav
andaudio/webm
.