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 12:14:53 -0200 Message-ID: References: <871tmomuja.fsf@zigzag.favinet> 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 1421849721 1599 80.91.229.3 (21 Jan 2015 14:15:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2015 14:15:21 +0000 (UTC) Cc: help-gnu-emacs To: Thien-Thi Nguyen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 21 15:15:10 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 1YDw3q-0001RU-Ap for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Jan 2015 15:15:10 +0100 Original-Received: from localhost ([::1]:48493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDw3p-0005kA-Lk for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Jan 2015 09:15:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDw3c-0005k0-9j for help-gnu-emacs@gnu.org; Wed, 21 Jan 2015 09:14:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDw3b-00086n-ES for help-gnu-emacs@gnu.org; Wed, 21 Jan 2015 09:14:56 -0500 Original-Received: from mail-ob0-x231.google.com ([2607:f8b0:4003:c01::231]:61723) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDw3a-00086U-3L; Wed, 21 Jan 2015 09:14:54 -0500 Original-Received: by mail-ob0-f177.google.com with SMTP id uy5so39090413obc.8; Wed, 21 Jan 2015 06: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=FvJnGEIQ9+9KjxazXZ2xdGieR6JkR2gUcktvqcwsn78=; b=rZFevKVr7DyZT0Gj11Gmth/8MuTKsm/BKSOV+Mjg04Ok5fciMXYgY61tjy3VbnfOkm 66LXKkTfdor/iGNfT39hSTbJFyeA1Lh7ApDQZzr59tJQe2bwYs2KfypjUBC9SXdep4PM c+vYWl6I4LkP6qegX6tLJ/+hP/l43eaY/woKAQ6yg2Cw0S1yfEb5KM2CQy+ldvhaUfnh RMjixxq8pi8BP28iErdELvERMG3gQ9m5mJtMjUXo3i4wRylqyPVTMkeL5SjnTcexHOya LcbiOu6NN8ykRWxpGkrnEO8TI6FzQMIW4WMK7OjHzeHSvljBD5jrCf59khVgmRMDJ2vA t0Hg== X-Received: by 10.202.90.139 with SMTP id o133mr23203531oib.99.1421849693621; Wed, 21 Jan 2015 06:14:53 -0800 (PST) Original-Received: by 10.76.125.1 with HTTP; Wed, 21 Jan 2015 06:14:53 -0800 (PST) Original-Received: by 10.76.125.1 with HTTP; Wed, 21 Jan 2015 06:14:53 -0800 (PST) In-Reply-To: <871tmomuja.fsf@zigzag.favinet> X-Google-Sender-Auth: vpif2K48-IvyA7eY3FNjRi4SX60 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::231 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:102196 Archived-At: > > (url-request-method "post") > > IIRC, HTTP specifies the spelling as "POST" (all upcase). > Oh god. This actually works! It fixes the bug. Why the hell would it work 50% with lower case method?! I mean, the posting succeeds anyway, only the return value is kind of off. I'll do some more testing later, but this does seem to be the culprit. Thanks a lot, Thien.