Fork me on GitHub
#ring
<
2017-03-02
>
rickmoynihan16:03:24

speaking of request bodies as streams — ring doesn’t seem to package a middleware that coerces bodies in to tempfiles (like ring multipart does). Does anyone know of such an implementation in the wild, and if not would such a thing be a useful contribution to ring?

rickmoynihan16:03:14

the reason I raise it; is because it’s something we implemented a few years back

rickmoynihan16:03:25

not sure if the landscape has changed

seancorfield18:03:15

@rickmoynihan We use ring-defaults and I think that “packages” multipart file handling?

rickmoynihan18:03:34

it’s not multipart that I’m talking about

rickmoynihan18:03:51

its when the body is itself the encoded file

seancorfield18:03:38

Ah, I misunderstood when you referenced ring multipart…

rickmoynihan18:03:20

basically I think there’s a gap in the ring middlewares, which is handling large non multipart request bodies

weavejester18:03:57

I think that would be fine as a third-party library.