Handles a background request.
google.appengine.runtime.background.Handle(
environ
)
This function is called by the runtime in response to an /_ah/background
request.
Args |
environ
|
A dict containing the environ for this request (i.e. for
os.environ).
|
Returns |
A dict containing:
error: App Engine error code. 0 if completed successfully, 1 otherwise.
response_code: The HTTP response code. 200 if completed successfully, 500
otherwise.
logs: A list of tuples (timestamp_usec, severity, message) of log
entries. timestamp_usec is a long, severity is int and message is
str. Severity levels are 0..4 for Debug, Info, Warning, Error,
Critical.
|