mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:43:33 +03:00
initial support for "uploading" to file:// URLs
This commit is contained in:
parent
765754d39d
commit
fd802db39f
10 changed files with 177 additions and 29 deletions
29
tests/data/test205
Normal file
29
tests/data/test205
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# no Server-side
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
none
|
||||
</server>
|
||||
<name>
|
||||
"upload" with file://
|
||||
</name>
|
||||
<command>
|
||||
file://localhost/%PWD/log/nonexisting/result205.txt -T log/upload205.txt
|
||||
</command>
|
||||
<file name="log/upload205.txt">
|
||||
data
|
||||
in
|
||||
file
|
||||
to
|
||||
write
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
# 23 => CURLE_WRITE_ERROR
|
||||
<errorcode>
|
||||
23
|
||||
</errorcode>
|
||||
</verify>
|
||||
Loading…
Add table
Add a link
Reference in a new issue