Comments (4)
I can see
/**
* Content holder for Requests and Responses
*/
sealed trait HttpContent[-R, +A] extends Product with Serializable
object HttpContent {
case object Empty extends HttpContent[Any, Nothing]
final case class Complete[A](data: A) extends HttpContent[Any, A]
final case class Chunked[R, A](data: ZStream[R, Nothing, A]) extends HttpContent[R, A]
}
but Chunked
isn't used anywhere, so I guess streaming/chunked data is just not supported yet?
from zio-http.
Yes, it's not supported yet. We are working on it
from zio-http.
Thanks for such a detailed repro @kubukoz 🙏
I am not sure if this issue is because of chunking since you are passing content-length in your request. I'll take a look at it in more detail and post my findings.
from zio-http.
Temp Fix in #60
Will be throwing a 413 error in case the request is greater than 4bytes (configurable)
Long term solution will be to add streaming/chunking capabilities.
from zio-http.
Related Issues (20)
- Generic `ServerSentEvents` HOT 4
- Support receiving `ServerSentEvents` in the (Endpoint) client HOT 7
- Remove internal usage of warning header HOT 3
- ZClient memory leaks finalizers on each request HOT 8
- Improve ZClient UX with regards to Scope HOT 3
- Simplify `EncoderDecoder` HOT 4
- Improve `Literal` path matching via state machine HOT 5
- Http Server keeps application alive when it should exit HOT 7
- [gen] add support for type aliases (newtype / opaque type) when generating code from spec HOT 4
- HTML Templates can't emit attributes without values HOT 5
- OpenApiGen crashes with stack overflow on recursive case classes
- CRLF stripped in TextFields inside Multipart request HOT 5
- WebSockets don't work with `.enableRequestStreaming` HOT 1
- STM foreach docs confusing HOT 2
- Release final version of ZIO HTTP 3.0 HOT 9
- Remove HttpApp HOT 5
- Multi field case classes as input for query codec HOT 2
- Integrate validation information for query params in generated OpenAPI spec HOT 3
- uuid PathCodec is broken in snapshot versions HOT 6
- Support reason phrase for `Status`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zio-http.