Remove Content-Disposition from iCal feed for Google Calendar compatibility
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Google Calendar treats attachment disposition as download instead of subscription. Remove it so Google properly subscribes to the feed. Set 1h cache for CDN-friendly serving. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ab9a4170df
commit
638c42ce4b
@ -444,8 +444,7 @@ def ical_feed():
|
||||
ical_content,
|
||||
mimetype='text/calendar; charset=utf-8',
|
||||
headers={
|
||||
'Content-Disposition': 'attachment; filename="norda-biznes.ics"',
|
||||
'Cache-Control': 'no-cache, must-revalidate',
|
||||
'Cache-Control': 'public, max-age=3600',
|
||||
}
|
||||
)
|
||||
finally:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user