Hey 👋
I maintain python-multipart, a dependency of Starlette/FastAPI.
While working on Kludex/python-multipart#282, I've noticed that reqwest's gen_boundary emits a 71-byte boundary (4 × 16-hex chunks joined by -). RFC 2046 §5.1.1 recommends boundaries be at most 70 bytes, and reqwest is the only client I found that exceeds it.
It's not a big deal, I just wanted to share it here since it's the only client that I've found that doesn't follow the recommendation.
Hey 👋
I maintain python-multipart, a dependency of Starlette/FastAPI.
While working on Kludex/python-multipart#282, I've noticed that reqwest's
gen_boundaryemits a 71-byte boundary (4 × 16-hex chunks joined by-). RFC 2046 §5.1.1 recommends boundaries be at most 70 bytes, and reqwest is the only client I found that exceeds it.It's not a big deal, I just wanted to share it here since it's the only client that I've found that doesn't follow the recommendation.