使用qt发送cookie [英] sending cookies using qt

查看:257
本文介绍了使用qt发送cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Visual Studio2010中使用Qnetworkaccessmanager发送cookie.
我必须通过http请求发送lso cookie. Cookie已存储在我的系统中.

I am trying to send cookies using Qnetworkaccessmanager in visual studio2010.
I have to send lso cookie with the http request. The cookie is already stored in my system.
Help appreciated in advance!!

推荐答案

如果要发送Cookie,则必须遵循与cookie相关的特定协议,

只需正确阅读HTTP协议并相应地发送cookie.顺便问一下,您实现了所有http客户端还是使用了其他http类?
If you want to send Cookie then you will have to follow specific protocol related with cookie ,

Just read the HTTP protocol Properly and send cookie accordingly. By the way did you implement all the http client or used any other http class?


这篇关于使用qt发送cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆