Closed ftes closed 8 years ago
Looks good, mind adding a test so we don't break this in the future? Also feel free to add yourself to the Contributors in the README :)
Ok just some quick style comments and we can get this merged :) Thanks a lot for looking into this!
new proposal :)
Sorry to create more work for you and being not specific enough :-( hope this makes clearer what I meant as a test, https://github.com/sideshowcoder/canned/blob/master/spec/canned.spec.js#L389
No worries, let's hope we're on the same page this time. I had two small issues with other test cases:
I fixed these as well, let's see what Travis says. I would guess those were OS or version specific bugs.
Looks good :) I'm gonna merge it later today when I'm back at my own machine and release.
I merged this with a988f21 I wanted to make sure we don't update the version number just yet as I like to have it in a seperate commit, also squashed down the commits. Thanks for all your work, it is greatly appriciated.
Ok 0.3.8 has been release thanks again.
Hi, I spent quite some time trying to get the following variable response working:
Turns out that wasn't possible. I quick-fixed the code to allow an arbitrary request body string to be matched as well. Before this fix, the code failed in
utils.extend()
withFatal error: source.hasOwnProperty is not a function
. This was because it expected the request body to be formatted as properties, and so would not accept XML requests.