cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: query part for non-HTTP(S) URLs

From: Steve Holme <steve_holme_at_hotmail.com>
Date: Mon, 21 Nov 2011 22:22:07 +0000

Hi Guys,

> > I have a much better feeling when the cut off is only on the file proto.
>
> Why? What about FTP(S), IMAP(S), POP3(S), TELNET and SMTP(S)? I
> think we're pretty sure that they don't use the query part. I would think
> RTMP also don't, but we can let the ones we're unsure of remain untouched.

I just wanted to add my two pennies worth as I've been doing quite a bit of
work in the SMTP and POP3 areas recently as well as adding to the docs
regarding the file part of the URL.

SMTP doesn't use the query part and it is pretty safe to assume it won't in
the future either.

However, I can't say the same for POP3 - as the protocol is pretty limited
at present. POP3 desperately needs support for the delete command as well as
a few other commands and this may well be / could be done by using the query
part of a URL at some point eg. pop3://mail.domain.com/delete?msg=1.

I don't really want to get into a discussion about the future of POP3 at
present but all I wanted to highlight is that I would like to see the
ability to quite quickly enable or disable the query part for specific
protocols... maybe like Daniel suggested, via a bit in the protocol handler.

Kind Regards

Steve

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-21