Skip to content

Upgrade ureq#114

Merged
Narsil merged 5 commits into
mainfrom
upgrade_ureq
Jun 16, 2025
Merged

Upgrade ureq#114
Narsil merged 5 commits into
mainfrom
upgrade_ureq

Conversation

@Narsil

@Narsil Narsil commented Jun 16, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@Narsil Narsil requested a review from McPatate June 16, 2025 10:21
Comment thread src/api/sync.rs
.redirects(0)
.build();
let no_redirect_agent: Agent = Agent::config_builder()
// .try_proxy_from_env(true)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not in version 3 anymore, is behaviour identical by default now?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread src/api/sync.rs
.to_string();

// The response was redirected o S3 most likely which will
let etag = std::str::from_utf8(etag.as_bytes())

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no to_string method on the header object anymore?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, ureq is now using the std Request/Response object which do not have such methods, I couldn't find them at least.

@McPatate McPatate left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@Narsil Narsil merged commit 3c9391b into main Jun 16, 2025
3 checks passed
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.

2 participants