Skip to content

Handle PATCH returning 204 No Content - #53

Merged
dkocher merged 1 commit into
developfrom
bugfix/parseexception
Nov 12, 2025
Merged

dkocher merged 1 commit into
developfrom
bugfix/parseexception

Conversation

@dkocher

@dkocher dkocher commented Nov 12, 2025

Copy link
Copy Markdown

No description provided.

@dkocher
dkocher requested a review from AliveDevil November 12, 2025 08:12
@AliveDevil

AliveDevil commented Nov 12, 2025 •

Copy link
Copy Markdown

The idea I had was changing the JsonObject getContent() to Optional<JsonObject> getContent(), so we could handle the 204 early, and not try to read the stream, this could then be propagated in patch() to return Optional<DriveItem.Metadata>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants