Will Sargent
Will Sargent
This should be pretty easy to do in WS based off https://tools.ietf.org/html/rfc6749: https://github.com/wsargent/play-box-content-api/blob/master/app/controllers/ScalaApplication.scala
### Play Version (2.5.x / etc) 2.5.10 ### API (Scala / Java / Neither / Both) Java ### Operating System (Ubuntu 15.10 / MacOS 10.10 / Windows 10) Ubuntu 16.04.1...
This may be academic considering most people only want to store on GET, but for the record: https://github.com/wsargent/play-ws/blob/20f96945f11acc92ae8e9625a0c6c6dcf5e498a7/play-ahc-ws-standalone/src/main/scala/play/api/libs/ws/ahc/cache/CachingAsyncHttpClient.scala#L121-L121
Handle secondary keys in cache request to manage https://tools.ietf.org/html/rfc7234#section-4.1 https://github.com/wsargent/play-ws/blob/20f96945f11acc92ae8e9625a0c6c6dcf5e498a7/play-ahc-ws-standalone/src/main/scala/play/api/libs/ws/ahc/cache/AsyncCachingHandler.scala#L207-L207
Probably everything should use `withFoo` rather than `setFoo` to keep it inline with the Scala API. Should deprecate rather than remove old API to prevent breakage.
Gigahorse has akka-http support, I believe that @schmitch also has a branch open with akka-http implementation of WSClient.
It'd be nice to have mock WS client support, such as: https://github.com/leanovate/play-mockws
From https://github.com/playframework/play-scala-seed.g8 There's a scaffold called "form" which contains a controller and a spec file associated with it. When the spec is in a directory called "test", then the specification...
When using the maven properties for milestone builds: http://www.foundweekends.org/giter8/template.html#Maven+properties The default.properties files looks in maven: https://github.com/playframework/play-java-seed.g8/blob/master/src/main/g8/default.properties ``` description = This template generates a Play Java project name = play-java-seed organization=com.example...