diff --git a/mpx-catapult.rb b/mpx-catapult.rb index 92d686409cdcbbda8989491db8a2cd1b0fef5352..159966c1dd033e85de82795956ef706ecb132064 100755 --- a/mpx-catapult.rb +++ b/mpx-catapult.rb @@ -17,7 +17,7 @@ # You should have received a copy of the GNU Affero General Public License along # with sgx-catapult. If not, see . -puts "Soprani.ca/MMS Proxy for XMPP - Catapult v0.002" +puts "Soprani.ca/MMS Proxy for XMPP - Catapult v0.003" require 'goliath' require 'net/http' @@ -97,7 +97,8 @@ class WebhookHandler < Goliath::API end # TODO: maybe need to reflect more headers (multi-part?) - [200, {}, response.body] + [200, {'Content-Length' => response['content-length']}, + response.body] end end