[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-08-19 (世界標準時間)。"],[[["\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,[]]