Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DXE-2682 Removing empty body default #157

Merged
merged 2 commits into from
Sep 12, 2023
Merged

Conversation

stuartio
Copy link

The current behaviour adds an empty string as the body for all requests where the body is not specified. On zero length POSTs (e.g. https://techdocs.akamai.com/iam-api/reference/post-client-credentials-deactivate) this breaks the EdgeGrid auth calculation.

@dstopka dstopka changed the title Removing empty body default DXE-2674 Removing empty body default May 24, 2023
@dstopka
Copy link

dstopka commented May 24, 2023

Hi @stuartio,

Thank you for sharing this improvement with us and opening the PR. As you can see, one of the tests is failing. May I ask you to make sure this change is covered by tests and the failing one is adjusted?

Thanks,
Darek

@dstopka dstopka changed the title DXE-2674 Removing empty body default DXE-2682 Removing empty body default May 24, 2023
@dstopka dstopka self-requested a review September 12, 2023 08:41
@dstopka
Copy link

dstopka commented Sep 12, 2023

@stuartio, thanks again for your contribution. I updated the failing test and now everything is ready for merging. It'll be a part of the upcoming release.

@dstopka dstopka merged commit 79ba674 into akamai:master Sep 12, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

4 participants