From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Elena Newsgroups: gmane.emacs.help Subject: Stripping HTTP headers from an HTTP response? Date: Tue, 15 Dec 2009 05:28:17 -0800 (PST) Organization: http://groups.google.com Message-ID: <0e7021ea-7b88-4631-ad47-d241eb54d6eb@j19g2000yqk.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1260884564 22838 80.91.229.12 (15 Dec 2009 13:42:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Dec 2009 13:42:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 15 14:42:35 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NKXfe-0004LI-9k for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Dec 2009 14:42:34 +0100 Original-Received: from localhost ([127.0.0.1]:50978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKXfe-0000dC-8u for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Dec 2009 08:42:34 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!j19g2000yqk.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: 81.208.92.182 Original-X-Trace: posting.google.com 1260883697 12504 127.0.0.1 (15 Dec 2009 13:28:17 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 15 Dec 2009 13:28:17 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j19g2000yqk.googlegroups.com; posting-host=81.208.92.182; posting-account=AFCLjAoAAABJAOf_HjgEEEi3ty-lG5m2 User-Agent: G2/1.0 X-HTTP-Via: 1.1 sic.int.lisit.it:8080 (squid/2.5.STABLE3) X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Iron/3.0.197.0 Safari/532.0, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:175582 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:70659 Archived-At: 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.