improve webhook parsing
This commit is contained in:
1 parent
7e3b49ad76
commit
0a22be252c
6 files changed
+193
-284
No files matched your search
@@ -0,0 +1,3 @@
|
||||
pub const GITEA_SIG_HEADER_NAME: &str = "x-gitea-signature";
|
||||
pub const GITEA_EVENT_TYPE_HEADER_NAME: &str = "x-gitea-event-type";
|
||||
pub const MAX_WEBHOOK_BODY_SIZE: usize = 1024 * 1024; // 1 MiB
|
||||
Reference in new issue
Block a user