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

Add RoundTripper method to ghttp.Server #770

Merged
merged 2 commits into from
Jul 14, 2024
Merged

Conversation

Smirl
Copy link
Contributor

@Smirl Smirl commented Jul 12, 2024

Summary

Fixes #769

Add a new method RoundTripper which can be used to create http.Client or otherwise when testing http.

This is useful if you cannot access the URL directly, or do not want to change the path.

@onsi onsi merged commit 123a071 into onsi:master Jul 14, 2024
5 checks passed
@onsi
Copy link
Owner

onsi commented Jul 14, 2024

thanks!

@Smirl Smirl deleted the ghttp-roundtripper branch July 15, 2024 08:56
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.

Helper to create a RoundTripper for ghttp.Server
2 participants