From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.help Subject: Re: url-retrieve-synchronously results differ from curl Date: Wed, 21 Jan 2015 11:14:53 -0200 Message-ID: References: <87y4oxewcc.fsf@yahoo.fr> <87d26861z5.fsf@yahoo.fr> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1421846114 4731 80.91.229.3 (21 Jan 2015 13:15:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2015 13:15:14 +0000 (UTC) Cc: Sean Allred , help-gnu-emacs To: Nicolas Richard Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 21 14:15:14 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YDv7p-0000N0-OB for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Jan 2015 14:15:13 +0100 Original-Received: from localhost ([::1]:48170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDv7k-0005xY-0P for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Jan 2015 08:15:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDv7X-0005xL-Ei for help-gnu-emacs@gnu.org; Wed, 21 Jan 2015 08:14:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDv7W-0005DI-9I for help-gnu-emacs@gnu.org; Wed, 21 Jan 2015 08:14:55 -0500 Original-Received: from mail-ob0-x22f.google.com ([2607:f8b0:4003:c01::22f]:40418) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDv7W-0005D8-4B for help-gnu-emacs@gnu.org; Wed, 21 Jan 2015 08:14:54 -0500 Original-Received: by mail-ob0-f175.google.com with SMTP id wp4so18672106obc.6 for ; Wed, 21 Jan 2015 05:14:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=vIC4CH10fwDPlFeOQvo3PiunBx1z7FXcrvRvF+/ADXU=; b=GypNqP1e3ObglpObNeGl9h6tc85tN8pYcJh3tQsXpwioRF1rKoLZCiA9BowscjRekd TQ07EwhIzPHD9MwLOV8+AhY3+1+lOVxFo4d5yHc6t+1zm8dlQkeG9WcQ+Zgl5WT+fZ11 0oWnoqZqcklzuVUNZTTgp1jhN7dUYUfaF56D7RBKcznTZigGL6heTVSeX2svck15wV55 VXh9NCpRINFKEJIn/OERn1JX2h0gp6cihSD+cwcB3LKK3S5H+rmJAenB580V5g/BnGbN tzFkGWprwawcu8LQXwJ/wpu3OLvLbDp1yssQxqBG5LXJzlBgxYWBdfEy4HJ9FIlqgVeU yFeQ== X-Received: by 10.60.155.228 with SMTP id vz4mr25032891oeb.37.1421846093147; Wed, 21 Jan 2015 05:14:53 -0800 (PST) Original-Received: by 10.76.125.1 with HTTP; Wed, 21 Jan 2015 05:14:53 -0800 (PST) In-Reply-To: <87d26861z5.fsf@yahoo.fr> X-Google-Sender-Auth: k92Msa8diq6pDqGDWE6cMQwzCiE X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::22f X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102194 Archived-At: Retricting to http yields no results (the list becomes empty), so maybe I'm doing something wrong. The api call is indeed https, with the domain `api.stackexchange.com', but none of the entries in the list use the http protocol. I thought I might be using a wrong destination IP in the filter (which I discovered by pinging the domain above), but even if I remove the (ip.dst == 198.252.206.140) part I still get an empty list for the `http' filter (also for the `http2'). I also tried changing the interface to `any' (in case I was using the wrong one), but the result is the same. I get some http entries listed if I do some browsing, but I get nothing by contacting the API with url-retrieve-synchronously. 2015-01-21 5:13 GMT-02:00 Nicolas Richard : > Artur Malabarba writes: >> A single call to `url-retrieve-synchronously' yields 11 entries >> meeting the ip.dst filter (most TCP and a few TLS). I tried looking >> through these entires to figure out what data/headers were being sent, >> but had no success. > > Does restricting to 'http' help ? This is the kind of thing I have : > http://i.imgur.com/cOuz8QR.png > > -- > Nicolas