atarola/pyjojo — pull request #17 by prelegalwonder (2014-04-10 02:40:04+00:00)
Title: replace get method w/options, allow get for no payload requests and allow response to handle multiline json

I'm using pyjojo as an integration layer between Rundeck and various other rest API's. Unfortunately Rundeck only uses a method of get for it's option provider url's.

I've re-arranged the handler methods a bit so that the http method options provides what get was providing before and get now does exactly that (a parameterless method for apis).

I also attempted to support multiline json in the response delimited by \n.

If any of this seems like a terrible mess, don't be afraid to say so :) I don't know how mature my approach is and it's likely it could be a whole lot better :-)