Re: [akka-user] Akka 2.4.3 cannot read response body when using http 1.0 request

2016-04-05 Thread Konrad Malawski
Let's continue the discussion in the ticket. As Viktor found, it'd seem the 1.0 spec simply does not support this though...? On Tue, Apr 5, 2016 at 2:29 PM, xiaog zh wrote: > https://github.com/akka/akka/issues/20236 > > Can somebody give me a little clue or even guide me

Re: [akka-user] Akka 2.4.3 cannot read response body when using http 1.0 request

2016-04-05 Thread xiaog zh
https://github.com/akka/akka/issues/20236 Can somebody give me a little clue or even guide me get this problem fixed? On Tuesday, April 5, 2016 at 6:14:30 PM UTC+8, André wrote: > > The mandatory connection closing in HTTP 1.0 doesn't seem to work with > non-strict entities. > >

[akka-user] Akka 2.4.3 cannot read response body when using http 1.0 request

2016-04-05 Thread xiaog zh
Hi, Below is a whole unit test in my project, and it fails when using `HTTP/1.0` protocol, success when using `HTTP/1.1`. Can somebody help explain the reason? // setup mock server val json = """ |{"result":true} """.stripMargin val source = Source(ByteString(json) :: Nil) val