Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:evilsocket/bettercap
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Mar 28, 2016
2 parents 83cea50 + ad163f6 commit b23ce8f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/bettercap/proxy/http/streamer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,13 @@ def do_POST(req, res)
end
end

# Handle a PUT request, +req+ is the request object and +res+ the response.
def do_PUT(req, res)
perform_proxy_request(req, res) do |http, path, header|
http.put(path, req.body || "", header)
end
end

end
end
end
Expand Down

0 comments on commit b23ce8f

Please sign in to comment.