Skip to content

Rename UploadResponse -> UploadErrors#4491

Merged
tgeoghegan merged 2 commits intomainfrom
timg/dap-18-upload-errors
Mar 24, 2026
Merged

Rename UploadResponse -> UploadErrors#4491
tgeoghegan merged 2 commits intomainfrom
timg/dap-18-upload-errors

Conversation

@tgeoghegan
Copy link
Copy Markdown
Contributor

Also, send an empty response body from POST /tasks/{task-id}/upload handler when there are no errors to report, per draft-ietf-ppm-dap-17.

Happily, janus_client already handles empty response bodies and 200 OK correctly.

As I suspected, this was much easier to do oncethe endpoint was migrated to Axum. Thanks, @jcjones.

Part of #4402

Also, send an empty response body from `POST /tasks/{task-id}/upload`
handler when there are no errors to report, per draft-ietf-ppm-dap-17.

Happily, `janus_client` already handles empty response bodies and 200 OK
correctly.

As I suspected, this was much easier to do oncethe endpoint was migrated
to Axum. Thanks, @jcjones.

Part of #4402
@tgeoghegan tgeoghegan requested a review from a team as a code owner March 24, 2026 17:56
@tgeoghegan tgeoghegan marked this pull request as draft March 24, 2026 17:56
@tgeoghegan

This comment was marked as outdated.

@tgeoghegan tgeoghegan marked this pull request as ready for review March 24, 2026 18:25
@tgeoghegan tgeoghegan merged commit 114daa5 into main Mar 24, 2026
8 checks passed
@tgeoghegan tgeoghegan deleted the timg/dap-18-upload-errors branch March 24, 2026 23:02
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