Misleading error message when appending queries
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 48/100
Research direction
Reproduce the command trurl --url http://localhost:8000 --append query foo=bar and inspect the --append argument handling. The change is done when this invocation reports that the query component is missing data rather than claiming that query is unsupported; check the existing documentation examples while verifying the wording.
Written by the indexing model from the issue text.
Description
I am using trurl to append fields to a query to avoid url encoding them.
From the reading the man page, not paying enough attention and misinterpreting Long options can be provided either as --flag argument or as --flag=argument and -a, --append [component]=[data], I ran
trurl --url http://localhost:8000 --append query foo=bar
and got the error
trurl error: --append unsupported component: query
While the examples in the docs do use query=key=value, it threw me when it said query wasn't supported. Could the error be something like component query missing data or similar?
Thanks, and thanks for trurl in general, really helpful tool.
- Dominant language
- Perl
- Stars
- 3.4k
- Forks
- 119
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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.
More from curl/trurl
-
Proxy enable modeOpen
Difficulty 5/5 Over a week Newbie friendliness 12/100
-
Difficulty 3/5 Half a day Newbie friendliness 58/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
More tests failing due to case sensitivity with curl 8.20.0Possibly taken @charles2910 claimed this 206 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
Similar issues
-
On macOS, lcovutil.pm loads itself twice and warns "Subroutine ... redefined" for each subroutineOpen
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
linux-test-project/lcov#574 ·
-
bug needs-assignee size/L
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
EffortlessMetrics/perl-lsp#10241 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
inverse-inc/packetfence#9741 ·
Maintainers usually reply within 1 day
-
Package Update Update Bot
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
priv-kweihmann/meta-sca#13305 ·
-
[BUG] Inverted check in Images::process_image_crop prevents fallback to full-size coordinatesPossibly taken @subhwastaken claimed this 2 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
openfoodfacts/openfoodfacts-server#15511 ·
Maintainers usually reply within 1 day