Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.020 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:error': 0.03; 'urllib2': 0.07; '22,': 0.09; 'wrong,': 0.09; 'cc:addr:python- list': 0.11; 'cookie,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'saying.': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'cc:addr:python.org': 0.22; 'error': 0.23; 'cc:2**0': 0.24; 'logging': 0.26; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'anyone': 0.31; 'maybe': 0.34; 'could': 0.34; 'info': 0.35; 'received:google.com': 0.35; 'should': 0.36; 'server': 0.38; 'pm,': 0.38; 'skip:u 10': 0.60; "you're": 0.61; 'back': 0.62; "you'll": 0.62; 'more': 0.64; 'talking': 0.65; 'protocol,': 0.84; 'to:none': 0.92 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=JDBUNnWaLrp/ZLLbeHaPne7jeTNYZe7mGUwxEEKioRw=; b=mcfXh14GlAqVZKwPfFcJPAdXQsgZSTL72i0aAWVTiL4O1Eb6tfwtNYH/opMmHFHfla PyCpMELzQkSvYjjpTccmDen333tm4VaJSEZBNMNfKgeS1baRFQsgQSyrIW69CB6fyoPj T9/bDEnd2/QFJlxTy2p9e3+tbYxbe8RM2djCJ+W4poAqOCU0YwEkcBRPzb2WMrUKf8U+ 22Ucc8lGKkN/17pQ3S2VLFYOHApATByakFv2s8lxaQ94J0iA4H5vuDNA999auf/vzzpI FQQXDgwu/MNAocZhJZPXvoDVcSqVs1bE/LviOL2ZodZOXXU9U4VugQpVqFnXmdyRgMki sDrg== MIME-Version: 1.0 X-Received: by 10.42.37.138 with SMTP id y10mr4271707icd.26.1413981809505; Wed, 22 Oct 2014 05:43:29 -0700 (PDT) In-Reply-To: <82d4292e-10de-4d47-882e-bab75777fbfe@googlegroups.com> References: <82d4292e-10de-4d47-882e-bab75777fbfe@googlegroups.com> Date: Wed, 22 Oct 2014 23:43:29 +1100 Subject: Re: 403 forbidden error From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1413981812 news.xs4all.nl 2866 [2001:888:2000:d::a6]:53448 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3423 X-Received-Body-CRC: 2953507294 Xref: csiph.com comp.lang.python:79439 On Wed, Oct 22, 2014 at 10:36 PM, wrote: > Could anyone please help me to resolve 403 forbidden error while logging into an application. That comes down tot he server you're talking to. Maybe your username/password is wrong, or maybe you need to send back a cookie, or something. If you do some web searches, you should be able to find some info about HTTP; the better you understand the protocol, the more you'll understand of what urllib2 is saying. ChrisA