juan_gandhi: (VP)
Juan-Carlos Gandhi ([personal profile] juan_gandhi) wrote2013-09-07 09:06 pm
Entry tags:

[identity profile] palm-mute.livejournal.com 2013-09-08 11:15 am (UTC)(link)
слегка портит впечатление тот факт, что комбинаторы для построения запросов возвращают mutable RequestBuilder. Легко наступить на грабли:
val ids: Seq[String] = ...
val base = url("http://host/service")
val requests = ids map { base / _ }
nine_k: A stream of colors expanding from brain (Default)

[personal profile] nine_k 2013-09-08 12:16 pm (UTC)(link)
> "The latest release version is 0.11.0. For information on Dispatch 0.8.x, see dispatch-classic."

Oh the lovely fast-paced Scala world :)

[identity profile] http://users.livejournal.com/_windwalker_/ 2013-09-09 09:11 pm (UTC)(link)
Этот пиздец, штоле ?

http://www.flotsam.nl/dispatch-periodic-table.html

[identity profile] ivan-gandhi.livejournal.com 2013-09-09 09:16 pm (UTC)(link)
OH!

[identity profile] http://users.livejournal.com/_windwalker_/ 2013-09-09 09:17 pm (UTC)(link)
Уже ржу.


PUT a file

Similar to the POST verb, Dispatch supplies a <<< verb to apply the PUT method and set a java.io.File as the request body.

def myPut = myRequest <<< myFile


В крестики не наигрались.

[identity profile] ivan-gandhi.livejournal.com 2013-09-09 09:21 pm (UTC)(link)
:) Tastes vary...