You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/01/02 12:47:35 UTC

[GitHub] [servicecomb-java-chassis] whuxiari opened a new issue #1507: 通过RestClient/PostMan等工具发送的HTTP 请求中的Cookie缺失了部分信息

whuxiari opened a new issue #1507: 通过RestClient/PostMan等工具发送的HTTP 请求中的Cookie缺失了部分信息
URL: https://github.com/apache/servicecomb-java-chassis/issues/1507
 
 
   以下是在工具中配置的Cookie内容,为何在服务端取的cookie,少了authInfo?
   
   X-HD-SESSION=12456c12-2*****************37ee545d5; authInfo="{\"expiretime\":\"20200102T102330Z\",\"rtCiphertext\":\"7qfADfdUA*******************m6HiYDRoNPwdqH************************SQ2/XhB6wV6siN6P9UyFvLzivo/cLOYTrom8JV0vOAEy/SCYXCts7iutg+Nv5+FhvovWBsCPS/fPnxBaCjWiLJWzlI2nw\",\"createtime\":\"20200102T092330Z\",\"accesstoken\":\"CV4NxKKd/E*******************cIpjY9uoZs8uGD/Hv6rw01AD*****************LDelXxDg==\",\"siteID\":\"11\",\"x-uid\":\"900086*****001817\"}"; csrfToken=24B4805793964D1D7D558649451764E1CD0D602E18E9542C97; x-hd-grey=1; x-country=CN; x-userType=2; HuaweiID_CAS_ISCASLOGIN=true; CASLOGINSITE=1; LOGINACCSITE=1; x-uid=90008*****000375; x-teamId=90008*****000375; x-country=CN; x-userType=2; x-uid=90008*****000375; developer_userinfo=%7B%22siteid%22%3A******************22%2C%22csrftoken%22%3A%2224B4805793964D1D7D558649*******************amid%22%3A%22900086000000000375%22%7D

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [servicecomb-java-chassis] whuxiari edited a comment on issue #1507: 通过RestClient/PostMan等工具发送的HTTP 请求中的Cookie缺失了部分信息

Posted by GitBox <gi...@apache.org>.
whuxiari edited a comment on issue #1507: 通过RestClient/PostMan等工具发送的HTTP 请求中的Cookie缺失了部分信息
URL: https://github.com/apache/servicecomb-java-chassis/issues/1507#issuecomment-570207895
 
 
   工具设置如下图
   
   ![image](https://user-images.githubusercontent.com/9291379/71669380-755c6800-2da7-11ea-90d8-9cb5f11cfb8b.png)
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [servicecomb-java-chassis] whuxiari commented on issue #1507: 通过RestClient/PostMan等工具发送的HTTP 请求中的Cookie缺失了部分信息

Posted by GitBox <gi...@apache.org>.
whuxiari commented on issue #1507: 通过RestClient/PostMan等工具发送的HTTP 请求中的Cookie缺失了部分信息
URL: https://github.com/apache/servicecomb-java-chassis/issues/1507#issuecomment-570207895
 
 
   工具设置如下图
   
   ![image](https://user-images.githubusercontent.com/9291379/71669327-447c3300-2da7-11ea-9664-6f443786a3b2.png)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [servicecomb-java-chassis] whuxiari commented on issue #1507: 通过RestClient/PostMan等工具发送的HTTP 请求中的Cookie缺失了部分信息

Posted by GitBox <gi...@apache.org>.
whuxiari commented on issue #1507: 通过RestClient/PostMan等工具发送的HTTP 请求中的Cookie缺失了部分信息
URL: https://github.com/apache/servicecomb-java-chassis/issues/1507#issuecomment-570475935
 
 
   试过将Cookie内容进行URL编码,编码之后可以获取到了。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #1507: 通过RestClient/PostMan等工具发送的HTTP 请求中的Cookie缺失了部分信息

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #1507: 通过RestClient/PostMan等工具发送的HTTP 请求中的Cookie缺失了部分信息
URL: https://github.com/apache/servicecomb-java-chassis/issues/1507#issuecomment-570431317
 
 
   你可以试试更加简单的cookie,或者将内容编码一下再发送(HTTP的HEADER只支持[特定字符集](https://stackoverflow.com/questions/4400678/what-character-encoding-should-i-use-for-a-http-header))

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services