Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0x676e67/wreq-python
/ ok
Method
ok
src/client/async_impl/response/http.rs:63–65 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
61
/// Returns whether the response is successful.
62
#[getter]
63
pub fn ok(&self) -> bool {
64
self.status_code.is_success()
65
}
66
67
/// Returns the status code as integer of the response.
68
#[getter]
Callers
2
user_agent
Method · 0.45
encoding
Method · 0.45
Calls
1
is_success
Method · 0.80
Tested by
no test coverage detected