agoda-com / agoda-com/AgodaAnalyzers

WebAPI controller that return void break iOS

Abierto
#11 1 comentario 0 reacciones 0 asignados Ver en GitHub
Proposal
Lenguaje dominante
C#
Estrellas
25
Forks
15
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

When a webapi controller returns void, aspnet make it return a 204 instead of 200. iOS/Safari treat this differently and prompt the user for a document download blocking off the website the instant the API method is called from ajax.

We should create a rule that forces all webapi controller methods to return data and not a void.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.