Commit 8e2ecbe5 authored by Aaron Sikes's avatar Aaron Sikes
Browse files

Make simple option true by default as specified in README

Simple was undefined (falsy) unless specified explicitly
parent 0b3eb2df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ function rp(options) {
        'PUT' : [200, 201],
        'POST' : [200, 201],
        'DELETE' : [200, 201]
    }, c = {}, i;
    }, c = {simple: true}, i;
    if (typeof options === 'string') {
        c.uri = options;
        c.method = 'GET';