cURL / Mailing Lists / curl-library / Single Mail

curl-library

[ curl-Patches-831912 ] Add support for file:/<path> URLs

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 28 Oct 2003 12:34:51 -0800

Patches item #831912, was opened at 2003-10-28 12:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300976&aid=831912&group_id=976

Category: file://
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: David Hull (dlhull)
Assigned to: Daniel Stenberg (bagder)
Summary: Add support for file:/<path> URLs

Initial Comment:
The attached patch allows the host part of a file: URL
to be omitted.

file:/<path> is treated like file:///<path>.

Currently, curl returns the following error if the
<host> part is omitted.

  % curl file:/etc/motd
  curl: (6) Couldn't resolve host 'file:'

David Hull

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300976&aid=831912&group_id=976

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
Received on 2003-10-28