-
Notifications
You must be signed in to change notification settings - Fork 228
send headers for InspectBundle and add support for a system-version HTTP header #1654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c7b95b1
e118526
8d498b4
ec8f2da
bcbe287
b1a7449
0aaa673
b651891
e4fee1b
3ee6b89
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1307,6 +1307,9 @@ static gboolean info_start(int argc, char **argv) | |
if (no_check_time) | ||
check_bundle_params |= CHECK_BUNDLE_NO_CHECK_TIME; | ||
|
||
g_assert(access_args.http_info_headers == NULL); | ||
access_args.http_info_headers = assemble_info_headers(NULL); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's the scenario this would be useful for? When using the CLI, the context information will not be ready. When using RAUC without the service, this might not be relevant anymore (since e.g. polling will not work). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For We could change that by calling There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Documenting this clearly might be sufficient for now. |
||
|
||
res = check_bundle(bundlelocation, &bundle, check_bundle_params, &access_args, &error); | ||
if (!res) { | ||
g_printerr("%s\n", error->message); | ||
|
Uh oh!
There was an error while loading. Please reload this page.