> a design decision was made long ago that HttpRequest objects should 
provide a file-like interface (thus also .readline(), .readlines(), and 
.xreadlines())

Wouldn't having .read() .readline(), .readlines(), and .xreadlines() all on 
`request.body` provide a slightly cleaner interface, whilst still staying 
in line with that design decision?

I might not normally be fussed about pushing for a core change like this, 
but it seems like if we're introducing `.body`, keeping things nice and 
tidy would be worthwhile.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-developers/-/OadNl5ChOP8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to