IntelliJ 不保存 cookie
IntelliJ not saving cookies
我正在通过 IntelliJ HTTP 客户端在我的代码库中使用端点。例如,我这样做:
GET http://localhost:8000/path/to/my/endpoint/
响应有 Set-Cookie
header 并且根据 IntelliJ 文档:
The cookies received through a response are automatically saved into the dedicated http-client.cookies file under the .idea/httpRequests/ directory. The number of cookies that can be saved is limited to 300. The name and value of a cookie are automatically included in each subsequent request to the URL that matches the domain and path specified for the cookie, provided that the expiry date has not been reached.
然而,当我 运行 我的请求然后打开 http-client.cookies
我看到的是:
# domain path name value date
这里有什么?这个功能坏了吗?
P.S。截至撰写本文时,我使用的是 Mac OS X.
上的最新稳定版本 2020.3.2
它a known bug与cookie过期日期的格式有关。
我正在通过 IntelliJ HTTP 客户端在我的代码库中使用端点。例如,我这样做:
GET http://localhost:8000/path/to/my/endpoint/
响应有 Set-Cookie
header 并且根据 IntelliJ 文档:
The cookies received through a response are automatically saved into the dedicated http-client.cookies file under the .idea/httpRequests/ directory. The number of cookies that can be saved is limited to 300. The name and value of a cookie are automatically included in each subsequent request to the URL that matches the domain and path specified for the cookie, provided that the expiry date has not been reached.
然而,当我 运行 我的请求然后打开 http-client.cookies
我看到的是:
# domain path name value date
这里有什么?这个功能坏了吗?
P.S。截至撰写本文时,我使用的是 Mac OS X.
上的最新稳定版本 2020.3.2它a known bug与cookie过期日期的格式有关。