httpd: Mark immutable response as such with Cache-Control header
1 passed
1 pending
(2 total)
View logs
modified radicle-httpd/src/api/v1/projects.rs
@@ -28,7 +28,7 @@ use radicle_surf::{diff, Glob, Oid, Repository};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -195,6 +195,7 @@ async fn history_handler(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -258,7 +259,11 @@ async fn history_handler(
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -318,13 +323,13 @@ async fn commit_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -391,7 +396,7 @@ async fn diff_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -439,7 +444,7 @@ async fn tree_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -447,14 +452,14 @@ async fn tree_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -566,7 +571,7 @@ async fn readme_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-httpd/src/axum_extra.rs
@@ -2,7 +2,8 @@ use axum::extract::path::ErrorKind;
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -87,3 +88,12 @@ pub struct Error {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |