beno/activecmis — comment on commit 2e321998b2feffb118f5538faa6b1467103e2445
File:  line 0
By beno:

I got the error with both 1.9.2 and 1.9.3, talking to an Alfresco 4.0 repository. All fresh installs, no monkey patching or anything like that. When I query the content stream data, the request method returns nil, but the block has the response. I am 99% sure if it happens with 200 codes, but it happens with error codes (>300) for sure. No idea what is going on, but I can easily reproduce it.

I got the inspiration for the solution from here: https://github.com/xaop/activecmis/pull/3, which describes a similar issue. I think might be a bug in Net::HTTP? I suspect the fact that document ids in Alfresco look like URLs is screwing things up, but I now I am just guessing.