v0.2.2
The release incorporates the up-to-date API contract as of 2023-09-14 00:08:27 GMT.
Fixed
- (#26) Removed temporary workaround to map invalid
"200 response" which used to be returned by the Neon API for non existed resources (find
details here).
The rationale:- The workaround logic relies on the header
Content-Length
, but the server response may not contain that header
according to the RFC#7230:[...] Aside from the cases defined above, in the absence of Transfer-Encoding, an origin server SHOULD send a
Content-Length header field when the payload body size is known prior to sending the complete header section.[...] - It was noticed that the workaround leads to unexpected behaviour for the method
ListProject
: it returns the
error "object not found" for the API response which contains a non-empty list of projects. The issue appeared when
such list contains more than a couple of objects. - The reason caused implementation of the workaround was presumably resolved on the Neon API side.
- The workaround logic relies on the header