frostfs-sdk-go/client
Leonard Lyubich 85e3c7b087 [#254] client: Fix incorrect response processing case
In previous implementation `processResponse` returned `true` if
`resolveAPIFailures` is set and status failure is received. This led to
post-processing of the results, which no longer pays attention to the
status. For example, `ObjectHead` returned `unexpected header type`
error due to empty body.

Make `contextCall.processResponse` to return success flag regardless of
`resolveAPIFailures` setting. Make `contextCall.processCall` to return
`err` field presence flag on `processResponse` false return.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-05-30 17:23:56 +03:00
..
status [#176] status: Do not lose built-in error text message 2022-03-16 17:16:20 +03:00
accounting.go [#199] owner: Rename to user, refactor and doc 2022-04-19 18:44:02 +03:00
client.go [#164] Do not return rpc.Balance error in Dial 2022-03-14 13:04:49 +03:00
common.go [#254] client: Fix incorrect response processing case 2022-05-30 17:23:56 +03:00
container.go [#237] client: Sign container ID value at container removal 2022-05-04 15:22:48 +03:00
doc.go [#164] client: Refactor and document package functionality 2022-03-10 15:02:10 +03:00
errors.go [#140] client: Specify status errors of Client methods 2022-03-02 18:27:08 +03:00
netmap.go [#170] version: Add docs, refactor 2022-04-13 10:28:12 +03:00
object_delete.go [#197] session: Refactor and document the package 2022-04-27 11:09:29 +03:00
object_get.go [#197] session: Refactor and document the package 2022-04-27 11:09:29 +03:00
object_hash.go [#197] session: Refactor and document the package 2022-04-27 11:09:29 +03:00
object_put.go [#197] session: Refactor and document the package 2022-04-27 11:09:29 +03:00
object_search.go [#197] session: Refactor and document the package 2022-04-27 11:09:29 +03:00
object_search_test.go [#170] oid, cid: Refactor and document package functionality 2022-04-13 17:32:25 +03:00
reputation.go [#168] client: Adopt replacement of pointer slices with struct slices 2022-03-15 16:59:59 +03:00
response.go [#137] pool: simplify session creation 2022-04-07 13:33:16 +03:00
session.go [#199] owner: Rename to user, refactor and doc 2022-04-19 18:44:02 +03:00