Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #94699

Re: Using requests with an Authorization header?

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.012
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; '(b)': 0.07; 'happen,': 0.07; 'cc:addr:python-list': 0.09; 'happen?': 0.09; 'wed,': 0.15; 'did,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:requests': 0.16; 'unhelpful': 0.16; 'wrote:': 0.16; 'say,': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; '(a)': 0.22; 'trying': 0.22; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; '(c)': 0.29; "i'm": 0.30; 'post': 0.31; 'server': 0.34; 'received:google.com': 0.35; 'happened': 0.35; 'supports': 0.35; 'but': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'expect': 0.37; 'sure': 0.39; "didn't": 0.39; 'subject:with': 0.40; 'details': 0.62; 'subject:skip:A 10': 0.63; 'jul': 0.72; 'chrisa': 0.84; 'subject:Using': 0.84; 'to:none': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=X9WOXzlNVavaP8IRiHLAwS7JvX6rt87Jc0RyfHpWtK8=; b=hNh3MNgha1Ax71avqbnN3pW8TBK2otVBBuIIUwnaiOZdxRig6SIcEWV4aFedvY7gff WMrRKWbhMG58MpqgCLkTRZVWcVYtbUtKXJ2eQyorNcjgGnWKyg5QPVNHrm0nsBw6rbMI MjxF6fe3aI4hjZ0tcDeXNBNsfsvdlLjJ8EP0iqa7aFdv6YNbqJhBESq+DhKvLOqJW4LM Mr9L2IsVTxpEMtEeX55swZMK2+9+z++IPpBxd2BKBsw/E9bVK0XBHymAwGFVxG61Naux 5TTIoas/Ctp89meRS/1f1RefTWRHAqso9Gcjcg3ur0PcMWVVCLAJ84gKqpPzNIylhGvH CG8Q==
MIME-Version 1.0
X-Received by 10.50.36.8 with SMTP id m8mr7735086igj.16.1438098544724; Tue, 28 Jul 2015 08:49:04 -0700 (PDT)
In-Reply-To <f6254791-7816-4a9c-8260-b536af42e36d@googlegroups.com>
References <f6254791-7816-4a9c-8260-b536af42e36d@googlegroups.com>
Date Wed, 29 Jul 2015 01:49:04 +1000
Subject Re: Using requests with an Authorization header?
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1050.1438098553.3674.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1438098553 news.xs4all.nl 2847 [2001:888:2000:d::a6]:35940
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 3462
X-Received-Body-CRC 1324412970
Xref csiph.com comp.lang.python:94699

Show key headers only | View raw


On Wed, Jul 29, 2015 at 1:34 AM,  <devnzyme1@use.startmail.com> wrote:
> but that's not working

This is, I'm sorry to say, almost completely unhelpful - and also
extremely common. Can you please post the full details of (a) what you
did, (b) what happened or didn't happen, and (c) what you expect to
happen?

For example, are you sure the server supports what you're trying to do?

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Using requests with an Authorization header? devnzyme1@use.startmail.com - 2015-07-28 08:34 -0700
  Re: Using requests with an Authorization header? Chris Angelico <rosuav@gmail.com> - 2015-07-29 01:49 +1000
  Re: Using requests with an Authorization header? dieter <dieter@handshake.de> - 2015-07-29 08:01 +0200

csiph-web