18 #ifndef QDJANGO_HTTP_RESPONSE_H 
   19 #define QDJANGO_HTTP_RESPONSE_H 
   23 #include "QDjangoHttp_p.h" 
   25 class QDjangoHttpResponsePrivate;
 
   40         MovedPermanently        = 301,
 
   44         AuthorizationRequired   = 401,
 
   47         MethodNotAllowed        = 405,
 
   48         InternalServerError     = 500,
 
   54     QByteArray body() 
const;
 
   55     void setBody(
const QByteArray &body);
 
   57     QString header(
const QString &key) 
const;
 
   58     void setHeader(
const QString &key, 
const QString &value);
 
   60     virtual bool isReady() 
const;
 
   62     int statusCode() 
const;
 
   63     void setStatusCode(
int code);
 
   75     QDjangoHttpResponsePrivate* const d;
 
   76     friend class QDjangoFastCgiConnection;
 
   77     friend class QDjangoHttpConnection;