File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # PR #25 HTTP Query Support Design
2+
3+ ## Scope
4+
5+ Resolve PR #25 against the current ` master ` branch. Preserve query strings
6+ when ` Net::Ping::HTTP ` constructs the path for its ` Net::HTTP ` request.
7+
8+ ## Implementation
9+
10+ Replace the path-only value passed to ` Net::HTTP::Get ` or ` Net::HTTP::Head `
11+ with ` URI#request_uri ` . This retains the existing ` / ` fallback for an empty
12+ path and includes the query component for non-empty paths.
13+
14+ Add a WebMock regression test using a URL whose query parameter distinguishes
15+ the registered request from its path-only variant. The query-bearing request
16+ must succeed.
17+
18+ ## Validation
19+
20+ Run ` bundle exec rake test:http ` . The test confirms the request path includes
21+ the query string while preserving existing HTTP ping behavior.
You can’t perform that action at this time.
0 commit comments