我有一个客户端,我无法控制将带有标头的 JSON POST到 Play Server 2.1.2。Post的内容其实很短,里面包含了我感兴趣的数据。Expect: 100-continue
我在控制台中不断收到这些错误:
[error] play - Oops, unexpected message received in NettyServer (please report this problem): org.jboss.netty.handler.codec.http.DefaultHttpChunk@52ed100b
[error] play - Oops, unexpected message received in NettyServer (please report this problem): org.jboss.netty.handler.codec.http.HttpChunk$1@6acd73be
java.nio.channels.ClosedChannelException
我的控制器包含一个非常简单的方法:
object TestController extends Controller {
def foo = Action {
Ok("bar")
}
}
我正在使用 Play 2.1.x 分支的负责人(7 月 19 日)。谁能告诉我发生了什么事?