mirror of
https://github.com/curl/curl.git
synced 2026-08-01 12:58:07 +03:00
tool_operate: for -O, use "default" as filename when the URL has none
... or pick the last directory part from the path if available. Instead of returning error. Add test 690 and 691 to verify. Test 76 and 2036 no longer apply. Closes #13988
This commit is contained in:
parent
cb829f994d
commit
e26eefd9ce
8 changed files with 165 additions and 85 deletions
|
|
@ -1,36 +0,0 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FAILURE
|
||||
</keywords>
|
||||
</info>
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
none
|
||||
</server>
|
||||
<features>
|
||||
http
|
||||
</features>
|
||||
<name>
|
||||
HTTP, -O with no file name part in the URL
|
||||
</name>
|
||||
<command option="no-output">
|
||||
http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER/ -O
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<errorcode>
|
||||
23
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue