cURL / Mailing Lists / curl-library / Single Mail


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

From: <>
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:

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:

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