https://github.com/hohonuuli/demo-chunk-server
Repo to answer a stackoverflow question.
https://github.com/hohonuuli/demo-chunk-server
Last synced: 2 months ago
JSON representation
Repo to answer a stackoverflow question.
- Host: GitHub
- URL: https://github.com/hohonuuli/demo-chunk-server
- Owner: hohonuuli
- Created: 2018-10-30T04:50:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-04T18:56:59.000Z (over 4 years ago)
- Last Synced: 2025-02-04T21:45:55.668Z (4 months ago)
- Language: Java
- Size: 60.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# demo-chunk-server
Very simple server that responds with `Transfer-encoding: chunked` data. Created to work on the answer to a [StackOverflow](https://stackoverflow.com/questions/52669764/how-do-you-read-and-print-a-chunked-http-response-using-java-net-http-as-chunks/53057925#53057925) question.
It's published as a docker container. To run:
```
docker run -p 8080:8080 hohonuuli/demo-chunk-server
```Then point your browser or HTTP tool at . The `10` in the URL represents the number of chunks that the server will respond with.
Swagger docs are available when running the server at