From c64a35e9a01bdbd3c181c0c48b9d51f656d61c31 Mon Sep 17 00:00:00 2001 From: Martin Lensment Date: Tue, 1 Sep 2015 14:01:08 +0300 Subject: [PATCH] Add header for mod_epp in schema validation --- app/controllers/epp_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/epp_controller.rb b/app/controllers/epp_controller.rb index a61b155a1..f73f1bd3d 100644 --- a/app/controllers/epp_controller.rb +++ b/app/controllers/epp_controller.rb @@ -15,8 +15,8 @@ class EppController < ApplicationController code: 2001, msg: error } + response.headers['X-EPP-Returncode'] = '2200' end - handle_errors and return if epp_errors.any? end