Fork me on GitHub
#aleph
<
2018-03-09
>
borkdude10:03:01

I’m trying a multipart request. With clj-http it works fine, but with aleph I get back a 400 with a long stacktrace I don’t understand… any clues?

jetmind12:03:12

@borkdude which version of aleph do you use? I believe multipart requests were entirely broken in aleph until 0.4.5-alpha4

borkdude12:03:20

[aleph “0.4.4”]

borkdude12:03:24

I’ll try the newest…

borkdude13:03:53

seems to work!

logistark13:03:27

Question, regarding manifold/stream, how to apply a side effect for every msg inside an stream?

logistark13:03:26

I was trying to do something like:

(s/map (fn [value] (do (println value) value)) stream)

mccraigmccraig13:03:21

though you might need to consume your stream with (s/consume <stream>) or (s/reduce (fn [c _] (inc c)) 0 <stream>) or something

logistark13:03:42

Yep, i was testing taking manually with (s/take! stream)