Skip to content
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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Migrate to Libsoup 3 #10

wants to merge 2 commits into from

Conversation

arteymix
Copy link
Member

No description provided.

@arteymix arteymix added this to the 1.0 milestone Apr 10, 2022
// var auth_data = Soup.header_parse_param_list (auth.substring (7));
// req.uri.set_user (auth_data["username"]);
// }
// }
Copy link
Member Author

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);
Copy link
Member Author

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]
Copy link
Member Author

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); }
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant