akka/akka-http

Support WriteFile / transferTo

Open

#270 opened on Sep 12, 2016

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Scala (598 forks)batch import
1 - triagedhelp wantedlargenice-to-have (low-prio)

Repository metrics

Stars
 (1,311 stars)
PR merge metrics
 (Avg merge 1d 10h) (2 merged PRs in 30d)

Description

Issue by ktoso Monday Sep 28, 2015 at 08:31 GMT Originally opened as https://github.com/akka/akka/issues/18576


As mentioned in https://github.com/akka/akka/issues/18571#issuecomment-143671349 we have decided to not port this feature in the initial round of porting features from Spray, however at some point we may want to re-visit this decision if given good reasons.

Why not support it right away: It would require bypassing the entire streaming infrastructure and we back-pressure guarantees along with it etc.

Current replacement API: For users who were using WriteFile support we recommend feeding the HttpResponse using the SynchronousFileSource.

Contributor guide