X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Publisher.hh;h=6cd32872ce5df8da3aae2afbdd7b050eb5a2c6ad;hb=dd97af690b24459c73cf9031c20cd18a60397239;hp=72862d2a9d617d86ff6c4c0c37dd0ed35bc44dde;hpb=2046163582a745d5dee0bcf3a64c0c4217a077bb;p=pykit.git diff --git a/Publisher.hh b/Publisher.hh index 72862d2..6cd3287 100644 --- a/Publisher.hh +++ b/Publisher.hh @@ -32,6 +32,7 @@ namespace pykit { void setContentType(std::string const & contentType); void setLocation(std::string const & location); void setHeader(std::string const & header, std::string const & value); + void setStatusCode(int code); QUrl url() const; QByteArray postData() const;