Ryan Stewart
Ryan Stewart
I think changing the `prepare()` call to this takes care of it in this case, but I'm not sure yet if it breaks something else: ```erlang Converted = case prepare(Doc,...
Sorry it took me a while to get back to this. I'm working on upgrading from a very old version of this library to the newest, and it's a looooong...
It works if the update doc is a map. It's broken for bson: ```erlang 4> mc_worker_api:update(C, , {name, bob}, #{name => joe}). {true,#{ => 1, => 1}} 5> mc_worker_api:update(C, ,...
@seancribbs How would you define "stream terminates" when the length is unknown? What if the connection is severed before fully consuming the stream? Also, what about other potential request-related resources...
> If your resources (processes) that need cleanup are linked to the webmachine resource/connection, teardown will be automatic. Not from what I've seen. On the one hand, in socket-related error...
On top of all this, webmachine itself isn't completely consistent. The whole [`finish_response` function](https://github.com/webmachine/webmachine/blob/master/src/webmachine_decision_core.erl#L87) that I partially quoted earlier, goes like this: ```erlang finish_response({Code, _}=CodeAndPhrase, Resource, EndTime) -> put(code, Code),...