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

[HTTP] Add canonical_uri_template #5832

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

mtarld
Copy link
Contributor

@mtarld mtarld commented Sep 18, 2023

Q A
Branch? main
Tickets
License MIT
Doc PR TODO

Add canonical_uri_template extra property to be able to specify the URI template of the canonical resource.
Plus, widen the allowed status code for the alternate redirect to 3xx.

@mtarld mtarld force-pushed the feat/canonical-uri-template branch 4 times, most recently from 5459570 to 05d418d Compare September 18, 2023 13:53
src/State/Processor/RespondProcessor.php Outdated Show resolved Hide resolved
src/State/Processor/RespondProcessor.php Outdated Show resolved Hide resolved
@mtarld mtarld force-pushed the feat/canonical-uri-template branch 3 times, most recently from 8e49ee7 to efe7d06 Compare September 18, 2023 15:12
@mtarld mtarld force-pushed the feat/canonical-uri-template branch from efe7d06 to 03b7a7d Compare September 18, 2023 15:24
@mtarld mtarld requested a review from soyuka September 18, 2023 15:31
@soyuka soyuka merged commit 3fa0176 into api-platform:main Sep 19, 2023
@mtarld mtarld deleted the feat/canonical-uri-template branch September 19, 2023 08:58
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.

2 participants