libwww-perl / libwww-perl/Net-HTTP

Improve error message

Open
#79 6 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.