Skip to content

feat: Added capability to stream via Chunked Transfer encoding. - #63

Merged
Bernardusz merged 1 commit into
epic/v0.2.0-streamingfrom
feat/chunked-transfer
Jul 14, 2026
Merged

feat: Added capability to stream via Chunked Transfer encoding.#63
Bernardusz merged 1 commit into
epic/v0.2.0-streamingfrom
feat/chunked-transfer

Conversation

@Bernardusz

Copy link
Copy Markdown
Owner
  • Added getter and setters (chunkSize() and withChunkSize()) for default size per chunk
  • Changed maxBodySize from int to long to align with HTTP's spec
  • Added method to check the sending method of client/sender
  • Make sure calling body() family method only throws Levtus' internall exceptions
  • Added chunked reading capability in LevtusInputStream and made sure Request is compatible
  • Made it so LevtusIOException extends DeveloperException
  • Added needed test

Note: Skipped trailer support for transfer encoding, as it is rarely used and doesn't align with Levtus' microservice needs

- Added getter and setters (chunkSize() and withChunkSize()) for default size per chunk
- Changed maxBodySize from int to long to align with HTTP's spec
- Added method to check the sending method of client/sender
- Make sure calling body() family method only throws Levtus' internall exceptions
- Added chunked reading capability in LevtusInputStream and made sure Request is compatible
- Made it so LevtusIOException extends DeveloperException
- Added needed test

Note: Skipped trailer support for transfer encoding, as it is rarely used and doesn't align with Levtus' microservice needs
@github-project-automation github-project-automation Bot moved this to Backlog in Levtus Jul 14, 2026
@Bernardusz
Bernardusz merged commit a2baf90 into epic/v0.2.0-streaming Jul 14, 2026
1 of 3 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Levtus Jul 14, 2026
@Bernardusz
Bernardusz deleted the feat/chunked-transfer branch July 14, 2026 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant