My Products
Help
Anonymous
Not applicable

Visma.net API Content-Length header

by Anonymous (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