Ghttp

The ghttp test HTTP server for testing HTTP clients — NewServer/NewTLSServer, AppendHandlers, the Verify* assertions (VerifyRequest/VerifyHeader/VerifyHeaderKV/VerifyJSON/VerifyForm/VerifyBasicAuth/VerifyContentType/VerifyBody), RespondWith/RespondWithJSONEncoded(Ptr), CombineHandlers, RouteToHandler for unordered MUXed routes, AllowUnhandledRequests, RoundTripper, and TLS. Use when testing code that makes outbound HTTP requests.

onsi fd69fdb 8.5 KB Updated

File contents

onsi/gomega/tree/main/plugins/gomega/skills/ghttp commit fd69fdb5d4

Frequently asked questions

npx skillmds@latest add onsi/ghttp