mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 13:32:16 +00:00
dav_push: Add TTL header to notifcation requests (thanks @drift8797)
see #108
This commit is contained in:
@@ -183,6 +183,7 @@ impl<S: SubscriptionStore> DavPushController<S> {
|
||||
header::CONTENT_TYPE,
|
||||
HeaderValue::from_static("application/octet-stream"),
|
||||
);
|
||||
hdrs.insert("TTL", HeaderValue::from(60));
|
||||
client.execute(request).await?;
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user