Skip to content

Commit

Permalink
fix: Added extra note for full list of replaced headers and undo Cont…
Browse files Browse the repository at this point in the history
…ent-Type change
  • Loading branch information
jonathanedey committed Feb 22, 2024
1 parent 0482294 commit 13e6e04
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion firebase_admin/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,11 @@ class TaskOptions:
Some HTTP request headers will be ignored or replaced: `Authorization`, `Host`,
`Content-Length`, `User-Agent` and others cannot be overridden.
`Content-Type` is always set to 'application/json'.
A complete list of these ignored or replaced headers can be found in the following
definition of the HttpRequest.headers property:
https://cloud.google.com/tasks/docs/reference/rest/v2/projects.locations.queues.tasks#httprequest
By default, Content-Type is set to 'application/json'.
The size of the headers must be less than 80KB.
Expand Down

0 comments on commit 13e6e04

Please sign in to comment.