Project

General

Profile

Actions

Bug #15745

closed

Rudder-cli does not report anything when we are trying a PUT requests with an unauthorized token

Added by Félix DALLIDET almost 5 years ago. Updated about 1 month ago.

Status:
Released
Priority:
N/A
Category:
Rudder API & CLI
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Apache does not seem to send back anything except an HTPP header with 401 when calling a PUT request with an unauthorized token on the API.
Rudder-cli should test if the error code is 401 rather than try to read the HTTP data of the response.

Actions #1

Updated by Félix DALLIDET almost 5 years ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET almost 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-api-client/pull/24
Actions #3

Updated by Félix DALLIDET almost 5 years ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Vincent MEMBRÉ about 1 month ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF