ianmcook opened a new pull request, #13:
URL: https://github.com/apache/arrow-experiments/pull/13

   I was looking at the raw output from the different server examples by running
   ```sh
   curl -v --raw -o output.raw http://localhost:8000
   ```
   and examining `output.raw` with a hex viewer, and I noticed that the Go 
server example (using [http](https://pkg.go.dev/net/http)) and the Java server 
example (using [Jetty](https://eclipse.dev/jetty/)) both use [chunked transfer 
encoding](https://en.wikipedia.org/wiki/Chunked_transfer_encoding) by default 
when the `Content-Length` header is not set, whereas the Python server example 
(using [http.server](https://docs.python.org/3/library/http.server.html)) and 
the Rust server example in #8 (which doesn't use any high-level HTTP framework) 
do not.
   
   I added comments in both examples showing how to disable chunked transfer 
encoding.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to