aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_http_spec.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-08-18 14:30:14 +0100
committerMatthew Wild <mwild1@gmail.com>2018-08-18 14:30:14 +0100
commit6e48cd5ece06914f4d55c17fbf936eb49acf8562 (patch)
treea21ea35414a2815009a972eef900be112d8819db /spec/util_http_spec.lua
parent6ff958994e268f1a1ba5b263ae4eabbbc1b4daeb (diff)
downloadprosody-6e48cd5ece06914f4d55c17fbf936eb49acf8562.tar.gz
prosody-6e48cd5ece06914f4d55c17fbf936eb49acf8562.zip
Backed out changeset 27d800ddc3b0 (see below)
It's uncertain whether item not existing should be success and nil, or fail with an error. XEP-0060's "fetch most recent item" actually fetches a list of up to N items. N here is a maximum, not a minimum. The feeling is that no items is simply an empty list, not a failure of the operation.
Diffstat (limited to 'spec/util_http_spec.lua')
0 files changed, 0 insertions, 0 deletions