Skip to content

Feat: Support for chunked HTTP transfer-encoding #69

@jilles-valk

Description

@jilles-valk

Current situation

The current implementation does not support chunked HTTP transfer-encoding. When a GET or POST request is made to an endpoint with chunked encoding, the content length is zero and there is no data in the http response.

Request

It would be nice if the library supported chunked transfer-encoding. Our API endpoints return chunked data, which means we cannot use this library for our deployments.

Example

Below is a simple example created from the counter example that shows the issue.

main.py

Doing a GET request to https://ddapi20-waterwebservices.rijkswaterstaat.nl/ returns the following output.

HTTP query performed
HTTP status code: 200
HTTP content type: 
HTTP content length: 0
HTTP: b''

It should however return a simple HTML response.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions