mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 11:42:25 +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,
|
header::CONTENT_TYPE,
|
||||||
HeaderValue::from_static("application/octet-stream"),
|
HeaderValue::from_static("application/octet-stream"),
|
||||||
);
|
);
|
||||||
|
hdrs.insert("TTL", HeaderValue::from(60));
|
||||||
client.execute(request).await?;
|
client.execute(request).await?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|||||||
Reference in New Issue
Block a user