Skip to content
This repository was archived by the owner on Jun 10, 2025. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion overpass/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ def __init__(self, *args, **kwargs):
self._status = None

if self.debug:
import httplib
# Python 3 compatibility
try:
import httplib
except ImportError:
import http.client as httplib

import logging
httplib.HTTPConnection.debuglevel = 1

Expand Down