Sha256: 95594a64eced1f27b7a41eebf758f3eada89bcf8d3660aa40de8cb466762567f
Contents?: true
Size: 503 Bytes
Versions: 4
Compression:
Stored size: 503 Bytes
Contents
#include "SetCookie.h" #include "WebPage.h" #include "WebPageManager.h" #include "NetworkCookieJar.h" #include <QNetworkCookie> SetCookie::SetCookie(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {} void SetCookie::start() { QList<QNetworkCookie> cookies = QNetworkCookie::parseCookies(arguments()[0].toAscii()); NetworkCookieJar *jar = manager()->cookieJar(); jar->overwriteCookies(cookies); emit finished(new Response(true)); }
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
capybara-webkit-0.13.2 | src/SetCookie.cpp |
capybara-webkit-0.13.1 | src/SetCookie.cpp |
capybara-webkit-0.13.0 | src/SetCookie.cpp |
otherinbox-capybara-webkit-0.12.0.1 | src/SetCookie.cpp |