summaryrefslogtreecommitdiff
path: root/tests/data/test2072
Commit message (Collapse)AuthorAgeFilesLines
* tests: use %TESTNUMBER instead of fixed numberDaniel Stenberg2021-03-191-2/+2
| | | | | | | This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
* FILE: fix CURLOPT_NOBODY and CURLOPT_HEADER outputDaniel Stenberg2018-10-081-1/+1
| | | | | | | | | | | | | | | Now FILE transfers send headers to the header callback like HTTP and other protocols. Also made curl_easy_getinfo(...CURLINFO_PROTOCOL...) work for FILE in the callbacks. Makes "curl -i file://.." and "curl -I file://.." work like before again. Applied the bold header logic to them too. Regression from c1c2762 (7.61.0) Reported-by: Shaun Jackman Fixes #3083 Closes #3101
* Tests: fixes for WindowsMarcel Raad2018-08-221-1/+1
| | | | | - test 1268 requires unix sockets - test 2072 must be disabled also for MSYS/MinGW
* file: restore old behavior for file:////foo/bar URLsJon DeVree2018-04-061-7/+13
| | | | | | | | | | | | | | | | | | | | | curl 7.57.0 and up interpret this according to Appendix E.3.2 of RFC 8089 but then returns an error saying this is unimplemented. This is actually a regression in behavior on both Windows and Unix. Before curl 7.57.0 this URL was treated as a path of "//foo/bar" and then passed to the relevant OS API. This means that the behavior of this case is actually OS dependent. The Unix path resolution rules say that the OS must handle swallowing the extra "/" and so this path is the same as "/foo/bar" The Windows path resolution rules say that this is a UNC path and automatically handles the SMB access for the program. So curl on Windows was already doing Appendix E.3.2 without any special code in curl. Regression Closes #2438
* test: add test for bad UNC/SMB path in file: URLMatthew Kerwin2017-11-241-0/+38