In case of request failure, the response object also contains a error property.
Falls eine Anforderung fehlschlägt, enthält das Antwortobjekt auch eine Eigenschaft error.
The response object contains form attributes, properties, and render end points of forms.
Das Antwortobjekt enthält Formularattribute, -Eigenschaften und Render-Endpunkte der Formulare.
If we take a look at the response object, we see that virtually nothing has changed since the last release.
Schauen wir uns das Response-Objekt an, sehen wir, dass sich hier zum letzten Release so gut wie nichts geändert hat.
In Django a view is a function that receives a request object and returns a response object.
Bei Django ist eine View eine Funktion, die ein Request-Objekt entgegennimmt und ein Response-Objekt zurück gibt.
If not specified, temporary file is used, which will be deleted after the response object is destroyed.
Wenn er nicht spezifiziert ist, wird eine temporäre Datei verwendet. Diese wird gelöscht nachdem das Antwort-Objekt gelöscht wurde.
To keep compliant with different clients you should use the response object to return messages from your providers instead of using echo() or a similar output mechanism.
Um den unterschiedlichen Clients zu entsprechen sollte man das Antwort-Objekt verwenden um Rückgabe-Meldungen von Providern zurückzugeben anstatt echo() oder ähnliche Ausgabe-Mechanismen zu verwenden.
The handle() method of the server returns the response object, allowing you to do so.
Die handle() Methode des Servers gibt das Antwortobjekt zurück, was es erlaubt das zu tun.
By passing a boolean true value to this method, you can tell the front controller that instead of aggregating exceptions in the response object or using the error handler plugin, you'd rather handle them yourself.
Durch die Übergabe eines booleschen True Wertes an diese Methode, kann dem Front Controller mitgeteilt werden das, statt der Ansammlung der Ausnahmen im Antwortobjekt oder der Verwendung des Error Handler Plugin's, man diese Ausnahmen selbst behandeln will.
The methods on the response object (res) in the following table can send a response to the client and terminate the request response cycle.
Über die Methoden für das Antwortobjekt (res) in der folgenden Tabelle kann eine Antwort an den Client gesendet und der Anforderung/Antwort-Zyklus beendet werden.
The response object has the following methods available
Das Antwortobjekt bietet die folgenden Methoden
By passing a boolean true value to this method, you tell the response object that it should render an exception message and backtrace when rendering itself.
Durch die Übergabe eines booleschen True Wertes an diese Methode kann dem Antwortobjekt mitgeteilt werden das es Ausnahmenachrichten und Backtrace darstellen soll, wenn es selbst dargestellt wird.
If no request or response object are passed in, dispatch() will check for previously registered objects and use those or instantiate default versions to use in its process (in both cases, the HTTP flavor will be used as the default).
Wenn kein Anfrage- oder Antwort-Objekt angegeben werden, wird dispatch() nach vorher registrierten Objekten suchen und diese benutzen oder Standardversionen für seinen Prozess instanzieren (in beiden Fällen wird der HTTP-Dialekt als Standard benutzt).
The response object contains a JSON array that includes forms names and their repository path.
Das Antwortobjekt enthält ein JSON-Array mit den Namen der Formulare und ihrem Repository-Pfad.