You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please take over this issue? I am currently bound by refactoring probot as at work upgrading our github bots is stalled. So I am kind of mentally blocked to handle more than two super complex packages.
I see following tasks:
talk with @KhafraDev and other undici majntainers regarding this issue, and determine if this is what they want
investigate how to return full headers, and why we had limited headers in the first place (maybe there is something we oversee)
investigate the proposal to use object-parameter, also in regard of performance of instantiating objects
undici is probably not going to expose full headers from any field, it's just for mine and other sake of being able to know what all the headers on a given field are...
@jimmywarting
I am not against this proposal. I just want to have a clear scope. If undici doesnt need it per se but you need it, we should maybe make it configurable with a option, which maybe could be passed down from undici to busboy.
Undici is going to need it to get access to the raw header in order to get the full / as is content-type
it needs it do create a File with the exact same type, as provided by content-type... no cut of meta key/value pairs. no lowercased transformation.
(maybe also being able to parse content-disposition attachment header in a own way if needed)
undici is just not going to expose the raw headers to the client using fetch.
I know it's an old issue, but I've opened a PR with a proposal: #231. It passes the raw part headers as a new trailing argument to the file and field events, without breaking existing listeners.
Activity
Uzlopak commentedon Sep 30, 2023
@gurgunday
@KhafraDev
Your opinions? Afaik you wanted to replace busboy in undici with this version. Do you see any drawbacks?
jimmywarting commentedon Sep 30, 2023
fyi, related to: nodejs/undici#2283
Uzlopak commentedon Sep 30, 2023
@gurgunday
Can you please take over this issue? I am currently bound by refactoring probot as at work upgrading our github bots is stalled. So I am kind of mentally blocked to handle more than two super complex packages.
I see following tasks:
jimmywarting commentedon Sep 30, 2023
undici is probably not going to expose full headers from any field, it's just for mine and other sake of being able to know what all the headers on a given field are...
some custom libraries batch multiple request into one single multipart/form-data
https://docs.arangodb.com/3.11/develop/http/batch-requests/
So knowing all headers could be useful for others who are interested in this busboy. (like a custom express middleware)
jimmywarting commentedon Sep 30, 2023
2D array is important b/c a header could be added twice.
like set-cookie
gurgunday commentedon Sep 30, 2023
Should be doable, I'll try to take a look at this
Uzlopak commentedon Sep 30, 2023
@jimmywarting
I am not against this proposal. I just want to have a clear scope. If undici doesnt need it per se but you need it, we should maybe make it configurable with a option, which maybe could be passed down from undici to busboy.
KhafraDev commentedon Sep 30, 2023
I would expect the header parsing to allow semicolons.
jimmywarting commentedon Oct 1, 2023
Undici is going to need it to get access to the raw header in order to get the full / as is
content-typeit needs it do create a
Filewith the exact same type, as provided bycontent-type... no cut of meta key/value pairs. no lowercased transformation.(maybe also being able to parse content-disposition attachment header in a own way if needed)
undici is just not going to expose the raw headers to the client using fetch.
macgbluedev commentedon Oct 3, 2026
Hi!
I found this issue while tracking down supabase/storage#816.
I know it's an old issue, but I've opened a PR with a proposal: #231. It passes the raw part headers as a new trailing argument to the
fileandfieldevents, without breaking existing listeners.Feedback is welcome 馃槈
style(test): add missing newline at end of part-headers test