feat(remote-config): support RC Container format in network stack and use for remote-config request (#7037)

* feat(remote-config): request RC Container format

* fix(remote-config): handle no content responses

* chore(remote-config): allow snapshot todo

* fix(remote-config): disable response verification

* chore(remote-config): document disabled signing

* refactor(remote-config): parse RC containers in HTTP stack
This commit is contained in:
Rick authored and GitHub committed 2026-06-19 14:38:38 +02:00
1 parent 0dc32c9fd9
commit 6330937692
15 files changed
+386 -111

No files matched your search

@@ -18,6 +18,7 @@ enum HTTPStatusCode {
case success
case createdSuccess
case noContent
case redirect
case notModified
case temporaryRedirect
@@ -34,6 +35,7 @@ enum HTTPStatusCode {
private static let knownStatus: Set<HTTPStatusCode> = [
.success,
.createdSuccess,
.noContent,
.redirect,
.notModified,
.temporaryRedirect,
@@ -57,6 +59,7 @@ extension HTTPStatusCode: RawRepresentable {
switch self {
case .success: return 200
case .createdSuccess: return 201
case .noContent: return 204
case .redirect: return 300
case .notModified: return 304
case .temporaryRedirect: return 307