Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/square/okhttp
/ open
Method
open
okhttp/src/main/java/com/squareup/okhttp/OkHttpClient.java:338–340 ·
view source on GitHub ↗
(URL url)
Source
from the content-addressed store, hash-verified
336
}
337
338
public
HttpURLConnection open(URL url) {
339
return
open(url, proxy);
340
}
341
342
HttpURLConnection open(URL url, Proxy proxy) {
343
String protocol = url.getProtocol();
Callers
15
main
Method · 0.95
backdoorUrlToUri
Method · 0.95
openConnection
Method · 0.95
post
Method · 0.45
get
Method · 0.45
requestHeaders
Method · 0.45
getRequestPropertyReturnsLastValue
Method · 0.45
responseHeaders
Method · 0.45
serverSendsInvalidResponseHeaders
Method · 0.45
serverSendsInvalidCodeTooLarge
Method · 0.45
serverSendsInvalidCodeNotANumber
Method · 0.45
serverSendsUnnecessaryWhitespace
Method · 0.45
Calls
3
copyWithDefaults
Method · 0.95
getProtocol
Method · 0.80
equals
Method · 0.45
Tested by
15
backdoorUrlToUri
Method · 0.76
requestHeaders
Method · 0.36
getRequestPropertyReturnsLastValue
Method · 0.36
responseHeaders
Method · 0.36
serverSendsInvalidResponseHeaders
Method · 0.36
serverSendsInvalidCodeTooLarge
Method · 0.36
serverSendsInvalidCodeNotANumber
Method · 0.36
serverSendsUnnecessaryWhitespace
Method · 0.36
connectRetriesUntilConnectedOrFailed
Method · 0.36
testRequestBodySurvivesRetries
Method · 0.36
getErrorStreamOnSuccessfulRequest
Method · 0.36
getErrorStreamOnUnsuccessfulRequest
Method · 0.36