Skip to content

Commit

Permalink
Added head
Browse files Browse the repository at this point in the history
  • Loading branch information
cudeso committed Jul 2, 2013
1 parent 097014b commit 38346e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

.DS_Store
2 changes: 1 addition & 1 deletion http-py/http-py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ from httplib import HTTPConnection
parser = argparse.ArgumentParser()
parser.add_argument("--host", "--target-host", help="What host to connect to ", default="localhost")
parser.add_argument("--script", "--target-script", help="What script to connect to on the target host", default="index.html")
parser.add_argument("--method", "--http-method", help="HTTP method, POST or GET", default="GET")
parser.add_argument("--method", "--http-method", help="HTTP method, POST, GET or HEAD", default="GET")
parser.add_argument("--useragent", "--custom-useragent", help="Which useragent to send", default=1)
parser.add_argument("--cookie", "--header-cookie", help="A list of cookies to add to the header (multiple cookies as 'cookie1=abc;cookie2=def')", default="")
parser.add_argument("--data", "--url-data", help="Extra data to include in the request", default="")
Expand Down

0 comments on commit 38346e8

Please sign in to comment.