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

cleanup: merge httpheader and httpfailure into model #758

Merged
merged 2 commits into from
May 25, 2022
Merged

Conversation

bassosimone
Copy link
Contributor

These two small packages could easily be merged into the model
package, since they're clearly model-like packages.

Part of ooni/probe#2115

These two small packages could easily be merged into the model
package, since they're clearly model-like packages.

Part of ooni/probe#2115
@bassosimone bassosimone requested a review from hellais as a code owner May 25, 2022 07:45
bassosimone added a commit to ooni/probe that referenced this pull request May 25, 2022
@@ -21,7 +20,7 @@ func cloudflareIPLookup(
BaseURL: "https://www.cloudflare.com",
HTTPClient: httpClient,
Logger: logger,
UserAgent: httpheader.CLIUserAgent(),
UserAgent: model.HTTPHeaderUserAgent,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here it was actually wrong to use the CLI user agent

@bassosimone bassosimone merged commit 2d721ba into master May 25, 2022
@bassosimone bassosimone deleted the issue/2115 branch May 25, 2022 07:54
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