Fix HTTP responses for salmon and ActivityPub inbox processing (#5200)
* Return sensible HTTP status for ActivityPub inbox processing * Return sensible HTTP status for salmon slap processing * Return additional information to debug signature verification failures
This commit is contained in:
		
							parent
							
								
									e6543d5fc4
								
							
						
					
					
						commit
						dfaa219f88
					
				
					 4 changed files with 17 additions and 6 deletions
				
			
		|  | @ -46,8 +46,8 @@ RSpec.describe Api::SalmonController, type: :controller do | |||
|         post :update, params: { id: account.id } | ||||
|       end | ||||
| 
 | ||||
|       it 'returns http success' do | ||||
|         expect(response).to have_http_status(202) | ||||
|       it 'returns http client error' do | ||||
|         expect(response).to have_http_status(400) | ||||
|       end | ||||
|     end | ||||
|   end | ||||
|  |  | |||
		Reference in a new issue