Closed dh3wr closed 5 years ago
this.$http.get
scheint sich daran nicht zu stören.... Aber davon wollen wir uns ja verabschieden...
Das ist richtig so, da der Transfer Encoding Header verwendet wird. Der HTTP RFC sagt, dass dann Content-Length ignoriert werden muss. Das ist dann also eher ein Bug in axios.
es lag nicht daran, sondern der Grund war, dass axios bei nicht ausführbaren Zufriffen auch im success handler den error handler aufruft. Sorry...
Ah ok, dann hat sich das ja geklärt 😄
Das Axios-Modul hätte wohl gerne einen Content-Lenght Header, sonst wird der error handler aufgerufen. Der ist nun nicht mehr da.
Vergleich: Geht mit axios
Geht nicht mit axios: