On 26 Jun 2007, at 13:11, Johan Sørensen wrote: > request.stub!(:ssl?).and_return(true) Now why didn't I think of that :) I was looking for a way to set the request headers or protocol or something... Ta very much