add spdy method