mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
Remove EPP response header
Remove `mod_epp`-specific `X-EPP-Returncode` header set in EPP response since `mod_epp` was replaced by https://github.com/internetee/epp_proxy.
This commit is contained in:
parent
52092d59b1
commit
5831a6b183
2 changed files with 0 additions and 5 deletions
|
@ -22,7 +22,6 @@ class EppController < ApplicationController
|
|||
code: 2001,
|
||||
msg: error
|
||||
}
|
||||
response.headers['X-EPP-Returncode'] = '2200'
|
||||
end
|
||||
handle_errors and return if epp_errors.any?
|
||||
end
|
||||
|
@ -375,7 +374,6 @@ class EppController < ApplicationController
|
|||
if session_timeout_reached?
|
||||
@api_user = current_user # cache current_user for logging
|
||||
epp_session.destroy
|
||||
response.headers['X-EPP-Returncode'] = '1500'
|
||||
|
||||
epp_errors << {
|
||||
msg: t('session_timeout'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue