typo fix
[pykit.git] / Publisher.hh
index 5e95625..6cd3287 100644 (file)
@@ -14,6 +14,7 @@
 #include <QNetworkRequest>
 #include <QNetworkReply>
 #include <QBuffer>
+#include <boost/noncopyable.hpp>
 
 //#include "Publisher.mpp"
 ///////////////////////////////hh.p////////////////////////////////////////
@@ -30,8 +31,13 @@ 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;
+        QByteArray operation() const;
+        QString postContentType() const;
 
     private:
         Request(detail::InternalServerReply & reply);
@@ -42,6 +48,7 @@ namespace pykit {
     };
 
     class Publisher
+        : boost::noncopyable
     {
     public:
         virtual ~Publisher() {}