Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 853 | Rev 1179 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 853 Rev 860
Línea 31... Línea 31...
31
          }
31
          }
32
        }
32
        }
Línea 33... Línea 33...
33
 
33
 
34
        if (['get'].includes(request.method)) {
34
        if (['get'].includes(request.method)) {
35
          const headers = {
35
          const headers = {
36
            Accept: 'application/json',
-
 
37
            Vary: 'Accept',
36
            'Content-Type': 'application/json',
38
            'Cache-Control': 'no-cache, no-store',
37
            'Cache-Control': 'no-cache, no-store',
-
 
38
            Accept: 'application/json',
39
            'Content-Type': 'application/json'
39
            Vary: 'Accept'
40
          }
40
          }
41
          request.headers = { ...request.headers, ...headers }
41
          request.headers = { ...request.headers, ...headers }
42
          return request
42
          return request