libwww-perl / libwww-perl/Net-HTTP
Improve error message
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 20
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
At line 397 of Net/HTTP/Methods.pm it would help if the error
'Server closed connection without sending any data back'
were to include the host/remote server name, if that's available.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at line 397 of Net/HTTP/Methods.pm and read the surrounding connection and error-handling code to see whether the remote host is available there. Update the error wording to include the host when available, while retaining the existing message when it is not; verify the relevant HTTP error behavior with the repository's tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100