fallintoplace opened a new pull request, #1743:
URL: https://github.com/apache/iceberg-go/pull/1743

   ## What changed
   
   Use one response decoder for successful GET and POST requests, and require 
EOF after the first JSON value.
   
   ## Why
   
   The REST client currently decodes one value and ignores the rest of the 
response body. A response containing a valid object followed by another JSON 
value is accepted as successful even though it is not a single JSON document.
   
   Whitespace after the response remains valid.
   
   ## Testing
   
   - added a trailing JSON test for GET responses
   - added a trailing JSON test for POST responses
   - `go test ./...`
   - `go vet ./...`


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to