[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-20。"],[[["\u003cp\u003eA task handler processes push tasks, and its URL mapping is defined in the \u003ccode\u003eapp.yaml\u003c/code\u003e file, similar to other request handlers, allowing for flexible organization across single or multiple services.\u003c/p\u003e\n"],["\u003cp\u003eTask handlers must return an HTTP status code between 200-299 to signal success; any other code, besides 503, indicates failure and triggers a retry.\u003c/p\u003e\n"],["\u003cp\u003eTask handlers need to be idempotent because App Engine guarantees "at least once" delivery, and on rare occasions, multiple executions can occur.\u003c/p\u003e\n"],["\u003cp\u003eApp Engine sends special headers with each task request, such as \u003ccode\u003eX-Appengine-QueueName\u003c/code\u003e, \u003ccode\u003eX-Appengine-TaskName\u003c/code\u003e, and \u003ccode\u003eX-Appengine-TaskRetryCount\u003c/code\u003e, which can be used to identify and manage the task's execution and retries.\u003c/p\u003e\n"],["\u003cp\u003eTo secure task handlers from external access, URLs can be restricted to App Engine administrators by adding \u003ccode\u003elogin: admin\u003c/code\u003e to the handler configuration in \u003ccode\u003eapp.yaml\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]