Commit Graph

2 Commits

Author SHA1 Message Date
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
Sean Geoghegan f755b1f277 Add blacklisting support to webkit server.
Adds a SetBlacklist command that takes a list of URLs
which will be black listed by the WebKit Server. When
a request is made to one these URLs webkit_server will
intercept the request and return a NoOpReply which contains
no content.
2012-11-15 10:32:06 -05:00