Hi !
I admit that indexOf differences in java String and Array is slightly
confusing.
Akka ByteString.index is like Array.indexOf and not String.indexOf...
Choice is difficult with ByeString parameter ...
Add a warning ?
Add a method that behave as String.indexOf() ?
Hope somebody will have
On Windows 7, a Play framework V2.4.1 serves a large file (near 650Mb) on
localhost:8080.
I can download it from my web browser chrome.
When I try to do the same thing with Akka-http based client, I have an
error described at the end of this post.
If I replace the big file by a small one (5Mb),
Hi everybody !
Following code is a server realized with akka-http on android that serves
files.
For this to work, just call new ServerForDownloadFile() in an android
AsyncTask.
class ServerForDownloadTask extends AsyncTask[AnyRef, Void, AnyRef] {
protected def doInBackground(args: AnyRef*):
Hi and thanks for your attention.
Now I am using akka-stream 1.0 and scala 2.11.7 with the same results as
previously.
New trial : on server side, I replace iterator with
SynchronousFileSource and I have an exception on client side :
IllegalResponseException: Response Content-Length