help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stripping HTTP headers from an HTTP response?


From: Elena
Subject: Stripping HTTP headers from an HTTP response?
Date: Tue, 15 Dec 2009 05:28:17 -0800 (PST)
User-agent: G2/1.0

Hello,

I'd like to get some HTML documents via HTTP for processing. I'm using
`url-retrieve-synchronously' to retrieve the HTTP response and it
works. However it returns the full HTTP response (that is: including
headers) and it seems there is not a function to extract the embedded
HTML document. Should I just strip lines until the first empty one, or
there is a better way?

I've tried the package `http-get.el' but it hangs Emacs for a while
before failing, maybe because I'm beyond a proxy.

Thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]