Method: Bcms::WebDAV::Resource#work_around_dav4rack_bug

Defined in:
lib/bcms_webdav/resource.rb

#work_around_dav4rack_bugObject

If Created isn’t returned, dav4rack controller will set the body to nil, which will cause Rack to blow up. i.e. response.body = response but ‘Location’ is only set if Created == true See github.com/chrisroberts/dav4rack/blob/master/lib/dav4rack/controller.rb#put



174
175
176
# File 'lib/bcms_webdav/resource.rb', line 174

def work_around_dav4rack_bug
  response['Location'] = ''
end