cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to send fragment part of URL?

From: chaitanya sonavale <chaitanya.sonavale_at_gmail.com>
Date: Wed, 16 Nov 2011 16:44:24 +0400

> The fragment part of a URI is not meant to be sent in the HTTP request - it
> is used to identify a specific section in the resource that will be fetched
> by using the particular URI. If you want to force #-letter into the request
> I think encoding it sounds like a perfect idea.

This is for implementing COPY method using WebDAV protocol. Server
comments about this requirement are as follows
"The COPY method is as described in WEBDRIVE-691. Please note that the
#-sign denotes a URI fragment and is *NOT* URI encoded."
So requirement from server to send # as it is seems wrong here. Will
check and update accordingly.

Thanks Jeff & Daniel.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-16