Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pusher/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ class Request(object):
:param path: The target path on the destination host
:param params: Query params or body depending on the method
"""
def __init__(self, config, method, path, params={}):
def __init__(self, config, method, path, params=None):
if params is None:
params = {}
self.config = config
self.method = method
self.path = path
Expand Down