简体   繁体   English

max-age 和 httponly cookie 属性未出现在响应中 header

[英]max-age and httponly cookie attributes not appearing in the response header

we want the responseHeader returns the following as in the postman, but the max-age and other items in it missing.我们希望 responseHeader 返回 postman 中的以下内容,但其中缺少 max-age 和其他项目。

we want the responseHeader returns the following as in the postman: enter image description here , but from karate, it returns:我们希望 responseHeader 返回以下内容,如 postman:在此处输入图像描述,但从空手道,它返回:

1 < X-Content-Type-Options: nosniff
1 < Set-Cookie: qbn.ptc.agentid=; Domain=intuit.ca; Secure
1 < Set-Cookie: qbn.ptc.authid=; Domain=intuit.ca; Secure
1 < Set-Cookie: qbn.ptc.gauthid=; Domain=intuit.ca; Secure
1 < Set-Cookie: qbn.ptc.parentid=; Domain=intuit.ca; Secure
1 < Set-Cookie: qbn.ptc.ticket=; Domain=intuit.ca; Secure
1 < Set-Cookie: qbn.ptc.tkt=; Domain=intuit.ca; Secure

This is supposed to work in 1.3.1 and 1.4.0.RC3: https://github.com/karatelabs/karate/issues/2165这应该在 1.3.1 和 1.4.0.RC3 中工作: https://github.com/karatelabs/karate/issues/2165

If not, follow this process so that we can fix it: https://github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue如果没有,请按照以下流程进行修复: https://github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在空手道中设置大 cookie 标题 - How to set big cookie header in karate 空手道 API 模拟 - 如何模拟响应 cookie? - Karate API mocks - How to mock a response cookie? 如何根据空手道中的响应头应用if条件 - How to apply if condition on the basis of response header in karate 空手道API场景,需要从浏览器Cookie详细信息中获取标头字符串详细信息才能匹配服务 - Karate API scenario where header string details are needed from browser cookie details to hit a service 空手道 GET 调用中未返回内容编码响应标头 - Content-Encoding response header not returned in karate GET call 空手道:无法将从一个 api 响应中提取的 header 值传递到另一个 Z8A5DA52ED126447D 的请求 header 中 - Karate: Not able to pass header value extracted from one api response into the request header of another api 如何从空手道的响应标头中提取双引号中的值 - How to extract value in double quotes from a response header in karate 如何在空手道框架的特征文件中读取响应头值? - how to read response header values in feature file of karate framework? 无法从空手道的响应头中获取“位置”属性 - Can't get "Location" attribute from response header in karate 有什么方法可以过滤或屏蔽请求/响应中的空手道授权标头? - Any way to filter or mask karate Authorization header in request / response?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM