-
Notifications
You must be signed in to change notification settings - Fork 2.6k
[fr] 3.4 response docs update (follow #4537) #4584
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
Conversation
fr/controllers/request-response.rst
Outdated
| .. php:method:: withHeader($header, $value) | ||
| Les définitions de headers se font avec la méthode :php:meth:`Cake\\Http\\Response::withHeader()`. | ||
| Comme tous les méthodes de l'interface PSR-7, cette méthode retourne une |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toutes les méthodes
fr/controllers/request-response.rst
Outdated
| $this->response->withHeader('X-CakePHP', 'yes!'); | ||
|
|
||
| Dans le code ci-dessus, la réponse ne contiendra pas le header ``X-CakePHP`` | ||
| car la valeur retournée par ``withHeader()`` n'a pas été persisté. Pour avoir |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
persistée
|
|
||
| Définir les En-têtes de Requête d'Origine Croisée (Cross Origin Request Headers = CORS) | ||
| Définir les En-têtes de Requête d'Origine Croisée (Cross Origin ServerRequest Headers = CORS) | ||
| ======================================================================================= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing some ====
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed and the "ServerRequest" should be "Request". The Search and Replace was a bit destructive.
|
Thanks for the review @cake17. I'll probably make the necessary changes tomorrow. |
|
@cake17 I took care of it. |
|
Nice work @HavokInspiration |
|
top @HavokInspiration ! |
Follows #4537 for the French docs.
I modified some things I think were missed in the original version, be sure to check it out before merging.