Questions tagged [httplib2]

A comprehensive HTTP client library

A comprehensive HTTP client library, httplib2 supports many features left out of other HTTP libraries.

217 questions
2
votes
1 answer

Handling authentication and proxy servers with httplib2

I'm attempting to test interactions with a Nexus server that requires authentication for the operations I intend to use, but I also need to handle an internal proxy server. Based on my (limited) understanding I can add multiple handlers to the…
Rich Seller
  • 83,208
  • 23
  • 172
  • 177
1
vote
1 answer

does the Linux distribution matters for noarch packages?

I need httplib2 v0.7 RPM for RHEL 5.7, but can't find one. So, do you by chance know where can I get some? I see such RPMs but for other distros (e.g. Mandrake). Since it is python-only lib (noarch) does the distro matters? Can I get any and use…
davka
  • 13,974
  • 11
  • 61
  • 86
1
vote
2 answers

Python BadStatusLine error on certain DELETE requests

I am trying to use the python-rest-client ( http://code.google.com/p/python-rest-client/wiki/Using_Connection ) to perform testing of some RESTful webservices. Since I'm just learning, I've been pointing my tests at the sample services provided at…
Mikey 0
  • 51
  • 5
1
vote
6 answers

Looking to solve the SSL error in Google Plus API command-line Python starter kit running on localhost

I'm trying to get the command-line Python starter for Google Plus API working, but after the authentication has completed, I run into this error: ssl.SSLError: [Errno 185090050] _ssl.c:336: error:0B084002:x509 certificate…
vjk2005
  • 678
  • 1
  • 12
  • 23
1
vote
1 answer

Does the Python library httplib2 cache URIs with GET strings?

In the following example what is cached correctly? Is there a Vary-Header I have to set server-side for the GET string? import httplib2 h = httplib2.Http(".cache") resp, content = h.request("http://test.com/list/") resp, content =…
Jason Christa
  • 12,150
  • 14
  • 58
  • 85
1
vote
2 answers

how do I install httplib2 for python under windows 7 64?

Only instructions I can find refer to unix/linux?
ar.dll
  • 767
  • 4
  • 16
  • 35
1
vote
1 answer

Raise Respond not ready in python

The python instance is raising ResponseNot ready error after running import httplib2 import json def getGeocodeLocation(inputString): google_api_key = "AIzaSyCluVT5yELlVqmZEdOrBRub3CkKzFfVobw" locationString = inputString.replace(" ",…
1
vote
2 answers

in Python, I want to do rest requests with HTTP and NOT with HTTPS, packages don't seem to agree

I have tried to use request: url = 'http://bot' # this is a local service import requests r = requests.get(url) and I get requests.exceptions.SSLError: HTTPSConnectionPool(host='bot', port=443) I specified HTTP, not HTTPS, but it tried to…
Thomas
  • 10,933
  • 14
  • 65
  • 136
1
vote
1 answer

How to solve Unable to find the server at www.googleapis.com when not connected to the internet with a Python Application

I have a desktop app, made with python that works as a standalone application, it runs fine without relying on the internet. Only to connect to Google Drive the app requires internet connectivity. The problem is that on running the app, when not…
Berch
  • 185
  • 1
  • 13
1
vote
1 answer

Httplib2 invalid syntax error with [python3.6]

I build app with python3 long time ago. And these days unfortunately I've broken my pc and something happened to my ubuntu server and no longer use so I reconfigured it and cloned my python app from my github repo and deployed by same step before…
K.awi
  • 23
  • 4
1
vote
1 answer

Google App Engine httplib2 import Http results in Syntax Error

Looking for some help with Google App Engine. Below is the offending part of my code: from __future__ import print_function import webapp2 import jinja2 import csv import os from collections import namedtuple from httplib2 import Http from…
1
vote
2 answers

how to set proxy in python 3.x httplib2?

The "httplib2" library is working pretty well in both "python 2.x and 3.x" but while using it with proxy setup the 3.x version is not supporting ,please guide me how to add proxy over "httplib2" in "python 3.x" version.
Hari
  • 334
  • 4
  • 16
1
vote
2 answers

No such File or Directory in Python Web Crawling?

I am a newbie to python. I want to extract the name of categories and webpages of wikipedia page through the crawling procedure. During the course of this I am facing the following error. Downloading Traceback (most recent call last): File…
M S
  • 894
  • 1
  • 13
  • 41
1
vote
1 answer

OSError: [Errno 0] Error in httplib2 request

My local python application calls a REST api using httplib2. It has worked fine for over a year. This morning I started to receive the following error: 2018-06-28 12:43:07.001 Python[1722:25727] IMKInputSession [0x7f99e21ac2f0…
josh brown
  • 33
  • 8
1
vote
2 answers

httplib2 download progress bar in python

Is it possible to display the percentage a file has downloaded in python while using httplib2? I know you can with urllib2 but I want to use httplib2.
John Howard
  • 61,037
  • 23
  • 50
  • 66