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