Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Got rid of now-unnessary URL encoding (Was Needed

When API was accessed via GET)
  • Loading branch information...
commit 10d8fd4f4c701116c7dab6670aa960ed7557c7a8 1 parent e20c565
Jacob Burch authored
Showing with 2 additions and 7 deletions.
  1. +2 −1  .gitignore
  2. +0 −6 prowlpy.py
View
3  .gitignore
@@ -1,2 +1,3 @@
*.pyc
-.cache/
+.cache/
+.DS_Store
View
6 prowlpy.py
@@ -31,12 +31,6 @@ def post(self, application=None, event=None, description=None,priority=0):
# Set User-Agent
headers = {'User-Agent': "Prowlpy/%s" % str(__version__)}
- # URL-encode and string-ify keywords. Better type/content testing is needed here
- application = urllib.quote(str(application))
- event = urllib.quote(str(event))
- description = urllib.quote(str(description))
- priority = urllib.quote(str(priority))
-
# Perform the request and get the response headers and content
data = {
'apikey': self.apikey,
Please sign in to comment.
Something went wrong with that request. Please try again.