Lewis Cowles

Results 340 comments of Lewis Cowles

@chrisinmtown I would say in support of the maintainers, that safari gets the 415 behaviour; so it's an edge case right now.

Turns out this is a HTTP1.1 spec compliance issue https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html > Multiple message-header fields with the same field-name MAY be present in a message if and only if the entire...

I think this function is to blame... ```python def extract_content_type( headers: t.Union[t.List[t.Tuple[bytes, bytes]], t.Dict[str, str]] ) -> t.Optional[str]: """Extract the mime type and encoding from the content type headers. :param...

LMK what you think of the fix. As 415 lets the client know to fix their mess and is what happens from safari, I see this as more consistency from...

Cheers @burnettk do you know anyone that works for the framework, who can help push this forwards?

Hi @Ruwann thanks for the input; One thing I am struggling with, is out of the options you present, what combinations of, or choices, you feel best-match this project? Is...

Hi @chrisinmtown you 100% got it 💯 Apologies I had not made this clearer. My storytelling chip is clearly on the fritz. So this is about aligning the outputs to...

@chrisinmtown I think that because Connexion uses multiple potential backends, one Starlette and one Flask, this is what leads to the situation.

@chrisinmtown can I ask if we think that ``` % python3 Python 3.13.3 (main, Apr 8 2025, 13:54:08) [Clang 16.0.0 (clang-1600.0.26.6)] on darwin Type "help", "copyright", "credits" or "license" for...

So it looks like I was confusing the charset detection, from the mime and subtype. 😊 Change made, and I've changed tests to use `pytest.mark.parametrize`. If one mime-type check fails,...