-
Notifications
You must be signed in to change notification settings - Fork 2
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
Migrate to Libsoup 3 #10
base: master
Are you sure you want to change the base?
Conversation
// var auth_data = Soup.header_parse_param_list (auth.substring (7)); | ||
// req.uri.set_user (auth_data["username"]); | ||
// } | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two things here: uri
is immutable, so this is not a suitable approach and str_case_equal
is not visible despite passing --vapi
with the internal libvsgi Vala symbols.
} | ||
if (_uri == null) { | ||
// TODO | ||
_uri = Uri.build (UriFlags.ENCODED_PATH, _uri_scheme, _uri_userinfo, _uri_host, _uri_port, _uri_path_encoded, _uri_query, null); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will need a little bit more testing for various scenarios where the URI is set explicitly, or via CGI environment.
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This runtime is not available yet on GitHub Actions.
get { return this.message.status_code; } | ||
set { this.message.status_code = value; } | ||
get { return this.message.get_status (); } | ||
set { this.message.set_status (value, null); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reuse the existing status message here.
No description provided.