SIGN IN SIGN UP

feat: fix server lifecycle, callback handling, and SuperAgent v10 compatibility

- Fix server lifecycle management for manually started servers (PR #651)
- Preserve agent.query() method functionality by restoring original method (#860)
- Enhance error handling and callback management in piping scenarios (PR #832, #742)
- Add comprehensive HTTP/2 server support with proper lifecycle handling
- Ensure compatibility with SuperAgent formidable v3 upgrade
- Fix multipart/form-data response handling to prevent hanging (#850)
- Improve test coverage and reliability across all scenarios
- Upgrade to SuperAgent 10.x for latest features and fixes (#849)
- Verify and maintain response.body property availability (#815)
- Address deprecation warnings in newer Node versions (#840)
- Improve compatibility with Express test suites (#851)

Server lifecycle fixes prevent resource leaks when using request(app.listen()).
Query method preservation ensures HTTP verb methods don't override SuperAgent's
query functionality. Enhanced error handling prevents TypeErrors in piping
scenarios without callbacks.

All tests now pass (91/91, 98.93% coverage) with full SuperAgent v10 compatibility.

Closes #651 (server lifecycle for manually started servers)
Closes #832 (end function parameter handling for piping)
Closes #742 (TypeError when piping without callback)
Closes #849 (SuperAgent 10.x upgrade compatibility)
Fixes #815 (response body property consistency)
Fixes #860 (agent.query() method shadowing)
Fixes #850 (multipart/form-data hanging)
Addresses #851 (Express concurrency issues)
Addresses #840 (Node.js v22+ deprecation warnings)
T
titanism committed
6d060e3c8dbf18ddeea5728cf5118717c70d0251
Parent: 0413057