add-body-digest-validation #32

Merged
eslamnawara merged 7 commits from add-body-digest-validation into main 2026-03-10 21:28:50 +00:00
Member
No description provided.
add test
Some checks failed
Build / build (push) Successful in 10m18s
Test / test (push) Successful in 10m23s
Lint / lint (push) Failing after 5m56s
42caaa5660
close origional request body
All checks were successful
Build / build (push) Successful in 10m40s
Test / test (push) Successful in 10m41s
Lint / lint (push) Successful in 11m1s
c762a7200b
salmaelsoly requested changes 2026-03-08 10:09:36 +00:00
Dismissed
@ -85,0 +138,4 @@
case "SHA-512":
h := sha512.Sum512(body)
computedHash = h[:]
default:
Member

can we extract strings here in constant and use it in the testcases too

can we extract strings here in constant and use it in the testcases too
@ -178,0 +277,4 @@
if err != nil {
assert.Contains(t, err.Error(), tt.expectedError)
}
} else {
Member

i think we can remove this if err != nil since we already assert before it

i think we can remove this if err != nil since we already assert before it
extract algorithm strings to constants
All checks were successful
Build / build (push) Successful in 10m15s
Test / test (push) Successful in 10m22s
Lint / lint (push) Successful in 10m35s
9942e801fd
restore request body in servehttp so that sig digest can read it
All checks were successful
Build / build (push) Successful in 10m17s
Lint / lint (push) Successful in 10m34s
Test / test (push) Successful in 10m18s
44c355e1c6
Merge branch 'main' into add-body-digest-validation
Some checks failed
Build / build (push) Successful in 10m31s
Lint / lint (push) Failing after 6m19s
Test / test (push) Successful in 10m48s
1035a00103
eslamnawara force-pushed add-body-digest-validation from 1035a00103
Some checks failed
Build / build (push) Successful in 10m31s
Lint / lint (push) Failing after 6m19s
Test / test (push) Successful in 10m48s
to 8b9a6e733e
Some checks failed
Test / test (push) Successful in 2m32s
Build / build (push) Successful in 10m17s
Lint / lint (push) Failing after 1m0s
2026-03-10 20:42:10 +00:00
Compare
fix lint
All checks were successful
Test / test (push) Successful in 10m24s
Build / build (push) Successful in 10m40s
Lint / lint (push) Successful in 11m0s
cb73291875
eslamnawara deleted branch add-body-digest-validation 2026-03-10 21:29:23 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
geomind_code/webgateway!32
No description provided.