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:
parent
faa597ff90
commit
aebcd56300
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue