-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Some clients like requests prefer this (curl seems OK)
If you try to do content-length+transfer-encoding fastapi complains (correctly) that this is invalid and sends a 400.
If you omit content-length our code chokes.
I cannot figure out how to make requests not do this. I also have 0% clue how the old code worked since I think it would silently let it go but I don't see any provisions for handling chunks.
It would be best to just handle it I think.
Kinda related to #26 in that we are now deep in the bowels of HTTP spec.
If the old code really did work OK, then disappointing that we have to be MORE aware of what's going on in fastapi land than before. if it was silently failing (it might have since we weren't doing checksums yet...) then that's also a problem!