mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 14:38:17 +08:00
FIX: try a GET for error code 406
This commit is contained in:
parent
faa597ff90
commit
aebcd56300
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user