From: Tim Landscheidt <tim@tim-landscheidt.de>
To: tomas@tuxteam.de
Cc: help-gnu-emacs@gnu.org
Subject: Re: url-retrieve and encoding
Date: Sat, 10 Feb 2024 20:51:54 +0000 [thread overview]
Message-ID: <87jznc11qt.fsf@vagabond.tim-landscheidt.de> (raw)
In-Reply-To: <ZcfO9rjxlqg7IJN0@tuxteam.de> (tomas@tuxteam.de's message of "Sat, 10 Feb 2024 20:31:02 +0100")
tomas@tuxteam.de wrote:
> I'm trying to fetch a Web resource via https with Emacs.
> IIUC, url-retrieve (and its sinchronous friend) are the tools for
> the job. They work nicely, but they leave me with a unibyte buffer
> (confusingly, the line endings are just linefeeds: from the HTTP
> specs I'd expected "\r\n")
> […]
I don't know if it is the correct way, but I have been using
(the undocumented) url-insert-file-contents for a while now
and it has worked for me very well. I have not tested any
edge cases, though.
Tim
next prev parent reply other threads:[~2024-02-10 20:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-10 19:31 url-retrieve and encoding tomas
2024-02-10 19:41 ` Eli Zaretskii
2024-02-10 19:49 ` tomas
2024-02-11 17:49 ` tomas
2024-02-11 19:21 ` Eli Zaretskii
2024-02-12 5:30 ` tomas
2024-02-10 20:51 ` Tim Landscheidt [this message]
2024-02-11 6:30 ` tomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87jznc11qt.fsf@vagabond.tim-landscheidt.de \
--to=tim@tim-landscheidt.de \
--cc=help-gnu-emacs@gnu.org \
--cc=tomas@tuxteam.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).