|
@@ -42,7 +42,7 @@ Answer *PostRequest::execute() const
|
|
|
answer += buff;
|
|
|
else
|
|
|
break;
|
|
|
- } while( httpK.hatNachricht( 0 ) );
|
|
|
+ } while( httpK.hatNachricht( 1000 ) );
|
|
|
return new Answer( answer );
|
|
|
}
|
|
|
|
|
@@ -62,6 +62,7 @@ PostRequest *PostRequest::release()
|
|
|
|
|
|
Answer::Answer( const char *answer )
|
|
|
{
|
|
|
+ all = answer;
|
|
|
TextReader reader( new Text( answer ) );
|
|
|
// parse header
|
|
|
Text *line = reader.leseZeile();
|
|
@@ -131,6 +132,11 @@ const char *Answer::getDate() const
|
|
|
return date;
|
|
|
}
|
|
|
|
|
|
+const char *Answer::getAll() const
|
|
|
+{
|
|
|
+ return all;
|
|
|
+}
|
|
|
+
|
|
|
Answer *Answer::getThis()
|
|
|
{
|
|
|
ref++;
|