My Products
Help
AnttiTaikaIT
CONTRIBUTOR ***

Visma.net API Content-Length header

by AnttiTaikaIT (Updated ‎02-02-2021 13:39 by Yıldırım VISMA )

I'm having trouble with Visma.net API GET-requests: I do not receive Content-Length header.

 

I'm using Python/Requests and I'm trying to use Streaming content to visualize progress when downloading larger amounts of data.

 

--Antti

1 REPLY 1
Accepted solution
Magnus Johnsen
VISMA

by Magnus Johnsen

HI,

As the "transfer-encoding" header is "chunked", there is no content-length header.

You can read more about chunked transfer coding here: RFC 2616 § 3.6.1