curl-library
Re: How to send fragment part of URL?
From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Wed, 16 Nov 2011 05:54:34 -0600
Date: Wed, 16 Nov 2011 05:54:34 -0600
On Wed, Nov 16, 2011 at 5:47 AM, chaitanya sonavale wrote:
>> You could try URI-encoding the #. (That is, use %23 instead of #)
>
> The requirement is to send the fragment part of data to server which
> is getting truncated by libcurl.
Fragments are generally used as instructions for the browser, and not
for the server.
That is why libcurl truncates them.
If you actually want to send a # to the server, then it should be URI-encoded.
- Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-16