1
0
espelhamento de https://github.com/cmur2/dyndnsd.git sincronizado 2025-09-17 15:52:01 +02:00

responder: fix bug

Esse commit está contido em:
cn
2018-02-02 16:44:50 +01:00
commit bd3c5d3234
2 arquivos alterados com 4 adições e 4 exclusões

Ver arquivo

@@ -28,9 +28,9 @@ module Dyndnsd
def decorate_other_response(status_code, headers, body)
if status_code == 400
[status_code, headers, "Bad Request"]
[status_code, headers, ["Bad Request"]]
elsif status_code == 401
[status_code, headers, "badauth"]
[status_code, headers, ["badauth"]]
end
end

Ver arquivo

@@ -28,9 +28,9 @@ module Dyndnsd
def decorate_other_response(status_code, headers, body)
if status_code == 400
[status_code, headers, "Bad Request"]
[status_code, headers, ["Bad Request"]]
elsif status_code == 401
[status_code, headers, "Unauthorized"]
[status_code, headers, ["Unauthorized"]]
end
end