Commit Graph

7 Commits

Author SHA1 Message Date
nritholtz e49176beac Allow multiple basic auths in one session 2015-04-13 13:05:30 -04:00
Matthew Horan be22bfe244 Share the NetworkAccessManager across WebPages
Destroying the NetworkAccessManager seems to result in "terminate called
without an active exception" segfaults. The documentation states that an
application requires only a single single NetworkAccessManager.
2013-03-18 08:14:35 -04:00
Matthew Horan c74949bd04 Rename Command::emitFinished to finish 2013-02-11 18:31:41 -05:00
Sean Geoghegan 77811ca9ba Fix memory leak of response.
Turns Response into a QObject and sets parent to the
command that emits it.

Each Command is also a child of the decorator commands,
Timeout and PageLoading commnds, so that deleting the
top level command will delete all the children.

See discussion in #430.
2012-12-14 01:46:54 -05:00
Matthew Horan 5127c01366 Fix status code and headers for iframes
QWebFrame::url() does not return a valid URL for iframes.  We can't just
look up the requested URL in m_responses because the request may have
been redirected, so instead we keep track of redirects and set up the
NetworkResponse when the final reply is received.
2012-11-30 21:26:40 -05:00
Joe Ferris 95732ad796 Split Command into more abstract Command and concrete SocketCommand 2012-07-08 12:04:30 -07:00
Matthew Mongeau 5b5067f243 Added browser.authenticate for http basic authentication 2012-06-15 12:49:02 -04:00