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

Do not send override_host if empty upon backend creation #491

Merged
merged 1 commit into from
Oct 28, 2021

Conversation

smaeda-ks
Copy link
Contributor

@smaeda-ks smaeda-ks commented Oct 28, 2021

This is confusing though we do need to send an empty string upon the "update" operation (PUT) in case users want to clear this field value, but we must not send it for the "create" operation as the Fastly API strictly validates the override_host value upon POST.

@smaeda-ks smaeda-ks self-assigned this Oct 28, 2021
@smaeda-ks smaeda-ks merged commit a514459 into master Oct 28, 2021
MickaelDatadome pushed a commit to DataDome/fastly-magento2 that referenced this pull request Oct 5, 2023
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