Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 12 lines (8 sloc) 0.29 kb
7b3d142 @halogenandtoast Response headers supported.
halogenandtoast authored
1 #include "Headers.h"
2 #include "WebPage.h"
f80125e @mhoran Pass the WebPageManager to each command
mhoran authored
3 #include "WebPageManager.h"
7b3d142 @halogenandtoast Response headers supported.
halogenandtoast authored
4
95732ad @jferris Split Command into more abstract Command and concrete SocketCommand
jferris authored
5 Headers::Headers(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {
7b3d142 @halogenandtoast Response headers supported.
halogenandtoast authored
6 }
7
85dcc72 @jferris Pass command arguments to the constructor
jferris authored
8 void Headers::start() {
7b3d142 @halogenandtoast Response headers supported.
halogenandtoast authored
9 emit finished(new Response(true, page()->pageHeaders()));
10 }
11
Something went wrong with that request. Please try again.