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

Content negociation implementation #259

Closed
arhimede opened this issue May 20, 2024 · 4 comments · Fixed by #261
Closed

Content negociation implementation #259

arhimede opened this issue May 20, 2024 · 4 comments · Fixed by #261
Assignees

Comments

@arhimede
Copy link
Member

https://api-tools.getlaminas.org/documentation/api-primer/content-negotiation

let's talk about that

@arhimede
Copy link
Member Author

arhimede commented May 20, 2024

@MarioRadu
Copy link
Member

Middleware after the RouteMiddleware to check the content negociation rules from a config file.

@alexmerlin alexmerlin linked a pull request May 23, 2024 that will close this issue
@arhimede
Copy link
Member Author

when the Accept header is missing

"ERR","message":"trim(): Argument #1 ($string) must be of type string, false given","extra":{"\u0000*\u0000message":"trim(): Argument #1 ($string) must be of type string, false given","\u0000Error\u0000string":"","\u0000*\u0000code":0,"\u0000*\u0000file":"/var/www/vhosts/api.dotkernel.net/httpdocs/src/App/src/Middleware/ContentNegotiationMiddleware.php",

@arhimede arhimede reopened this May 27, 2024
@bidi47
Copy link
Member

bidi47 commented Aug 28, 2024

@bidi47 bidi47 self-assigned this Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

4 participants