Method: HTTP::Message#see_other?

Defined in:
lib/httpclient/http.rb

#see_other?Boolean

SEE_OTHER is a redirect, but it should sent as GET

Returns:

  • (Boolean)


1077
1078
1079
# File 'lib/httpclient/http.rb', line 1077

def see_other?
  status == HTTP::Status::SEE_OTHER
end