Skip to content

fix: add DELETE support and Content-Type header in make_request#50

Merged
SergioLangaritaBenitez merged 2 commits into
develfrom
dev-slangarita
Jun 18, 2026
Merged

fix: add DELETE support and Content-Type header in make_request#50
SergioLangaritaBenitez merged 2 commits into
develfrom
dev-slangarita

Conversation

@SergioLangaritaBenitez

Copy link
Copy Markdown
Collaborator

Descripción

Arregla el envío de body en peticiones DELETE en .

Cambios

  • Añadido a la lista de métodos que pueden enviar body en
  • Añadido a las cabeceras cuando se envía para POST/PUT/DELETE
  • Añadida lógica de reintentos para errores 500 en PUT

Problema

Sin estos cambios, enviaba DELETE sin body, el servidor respondía 400 y el miembro no se eliminaba.

@SergioLangaritaBenitez SergioLangaritaBenitez merged commit d92ba30 into devel Jun 18, 2026
1 check passed
SergioLangaritaBenitez added a commit that referenced this pull request Jun 25, 2026
* Use user token instead of service token in the invocation (#45)

* pagination option added

* adapt fdl scipt path

* absolute path posibility added

* client_id as optional argument

* client_id default value

* Update readme

* clean code and set default values

* Updating versions/notes for 1.3.3-beta1 release

* Updating versions/notes for 1.3.3-beta1 release

* use token of the user instead of the service

---------

Co-authored-by: Estíbaliz Parcero <5576714+esparig@users.noreply.github.com>

* feat: implement missing API client methods and add unit tests (#47)

* pagination option added

* adapt fdl scipt path

* absolute path posibility added

* client_id as optional argument

* client_id default value

* Update readme

* clean code and set default values

* Updating versions/notes for 1.3.3-beta1 release

* Updating versions/notes for 1.3.3-beta1 release

* use token of the user instead of the service

* feat: implement missing API client methods and add unit tests

- Add 21 new methods to client.py (health, deployments, volumes,
  buckets, metrics, quotas, system_logs)
- Add load_config utility function in _utils.py
- Fix make_request UnboundLocalError on POST/PUT without data
- Add 29 unit tests across test_client.py and test_utils.py
- Fix all style issues (flake8 clean across project)

* feat: add federation API client methods and tests (#49)

* pagination option added

* adapt fdl scipt path

* absolute path posibility added

* client_id as optional argument

* client_id default value

* Update readme

* clean code and set default values

* Updating versions/notes for 1.3.3-beta1 release

* Updating versions/notes for 1.3.3-beta1 release

* use token of the user instead of the service

* feat: implement missing API client methods and add unit tests

- Add 21 new methods to client.py (health, deployments, volumes,
  buckets, metrics, quotas, system_logs)
- Add load_config utility function in _utils.py
- Fix make_request UnboundLocalError on POST/PUT without data
- Add 29 unit tests across test_client.py and test_utils.py
- Fix all style issues (flake8 clean across project)

* feat: add federation API client methods and tests

* fix: add DELETE support and Content-Type header in make_request (#50)

* fix: add DELETE support and Content-Type header in make_request

* fix: update test_make_request_post to expect Content-Type header

* Dev slangarita (#52)

* fix: add DELETE support and Content-Type header in make_request

* fix: update test_make_request_post to expect Content-Type header

---------

Co-authored-by: Estíbaliz Parcero <5576714+esparig@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant