Skip to content

Conversation

jhnstrk
Copy link
Contributor

@jhnstrk jhnstrk commented Dec 8, 2024

Use the boolean.

Note that this changes the default behavior but makes it consistent with what the function documentation was declaring.

If we want to maintain behaviour, we may want to expose this in option in parse_form.

@Kludex
Copy link
Owner

Kludex commented Dec 16, 2024

Should we actually remove the parameter? 🤔

Do you think this makes sense @jhnstrk ?

@jhnstrk
Copy link
Contributor Author

jhnstrk commented Dec 16, 2024

Should we actually remove the parameter? 🤔

Yes I think so, and also remove the X-File-Name fallback. It's not really expected for a mulitpart parser IMO.

@Kludex
Copy link
Owner

Kludex commented Dec 25, 2024

Let's drop it then 🙏

Removes the trust_x_headers option for
create_form_parser and associated tests.
@jhnstrk
Copy link
Contributor Author

jhnstrk commented Jan 21, 2025

I rebased on the current master and removed trust_x_headers entirely as discussed above.

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 this pull request may close these issues.

2 participants