-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Issues: square/okio
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author
Label
Projects
Milestones
Assignee
Sort
Issues list
Add file:https:// and android.resource:https:// to startsWithVolumeLetterAndColon method
#1166
by rustamsmax
was closed Sep 4, 2022
Fatal Exception: java.lang.IllegalStateException No deadline
#1122
by rohitkzoom
was closed Jan 29, 2023
public static final MediaType JSON
= MediaType.get("application/json; charset=utf-8");
OkHttpClient client = new OkHttpClient();
String post(String url, String json) throws IOException {
RequestBody body = RequestBody.create(json, JSON);
Request request = new Request.Builder()
.url(url)
.post(body)
.build();
try (Response response = client.newCall(request).execute()) {
return response.body().string();
}
}
#1119
by hungngo4586
was closed Jun 11, 2022
Enable compatibility mode for projects that don't use hierarchical structure
#1117
by joffrey-bion
was closed Jun 9, 2022
String.toPath() replaces back slashes in file names with a forward slash
#1116
by colinrtwhite
was closed Sep 4, 2022
ByteString
exposed to Objective-C / Swift cannot see NSData
helper
#1113
by JakeWharton
was closed Jul 25, 2022
Okio is slower when writing long strings into file frequently compared with FileWriter
#1098
by wisdomtl
was closed Mar 9, 2022
Buffer.writeAll from a Source doesn't work while Buffer.readAll to a Sink works
#1092
by yrezgui
was closed Feb 2, 2022
NullPointerException when returning null from inside read/write
#1091
by sky-ricardocarrapico
was closed Jan 14, 2023
ProTip!
Type g i on any issue or pull request to go back to the issue listing page.