See #1994 for more context.
Most requests don't have an entity body.
It's difficult to detect this condition except for reading from the input stream provided.
But this may fail after the fact if there is no entity body.
I feel like it would be more efficient and transparent if we simply did not set env['rack.input'] if there is no entity body.
See #1994 (comment) for an example use case.
See #1994 for more context.
Most requests don't have an entity body.
It's difficult to detect this condition except for reading from the input stream provided.
But this may fail after the fact if there is no entity body.
I feel like it would be more efficient and transparent if we simply did not set
env['rack.input']if there is no entity body.See #1994 (comment) for an example use case.