2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

FIX: try a GET for error code 406

This commit is contained in:
Régis Hanol 2017-11-17 16:59:51 +01:00
parent faa597ff90
commit aebcd56300

View file

@ -124,7 +124,7 @@ class FinalDestination
when 200
@status = :resolved
return @uri
when 405, 409, 501
when 405, 406, 409, 501
get_response = small_get(headers)
response_status = get_response.code.to_i