-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
docs(core/cookie-and-session): translate section Cookie #1562
docs(core/cookie-and-session): translate section Cookie #1562
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1562 +/- ##
=======================================
Coverage 99.57% 99.57%
=======================================
Files 29 29
Lines 712 712
=======================================
Hits 709 709
Misses 3 3 Continue to review full report at Codecov.
|
Thx for the translation. If you complete the translation, you can ping me to remove the label. |
@popomore , the translation of cookie-and-session is done. |
|
||
```js | ||
ctx.cookies.set(key, value, { | ||
httpOnly: true, // 默认就是 true |
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.
translate the comments to English too
|
||
Session is built on top of Cookie. | ||
By default, the content of Session is stored in a Cookie field as encrypted string. | ||
Every time client sends requests to server, is cookie is attached. |
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.
is cookie is attached
不太通顺?
@dead-horse , updated according to your comment. |
LGTM |
docs(core/cookie-and-session): translate section Cookie (#1562)
Checklist
Description of change
Work In Progress: Translate core/cookie-and-session