lib/async/http/response.rb in async-http-0.27.5 vs lib/async/http/response.rb in async-http-0.27.6
- old
+ new
@@ -46,9 +46,13 @@
def success?
status >= 200 && status < 300
end
+ def partial?
+ status == 206
+ end
+
def redirection?
status >= 300 && status < 400
end
def preserve_method?