rikmms / progress-bar-4-axios

Slim progress bar (NProgress) for Web applications that use Axios library for HTTP requests
MIT License
246 stars 32 forks source link

Load not ending when POST request data is empty #13

Open Polluux opened 5 years ago

Polluux commented 5 years ago

Hi, I'm starting to use this module for an application Symfony - VueJS. And I noticed that when I execute a POST request returning a null content, the loading bar never stops, despite the fact that the request end correctly with it's 200 http status code. I wondered if there was a configuration that I missed, or just something I'm doing wrong. Thanks in advance

birdspider commented 5 years ago

I had a similar issue, and solved it by ensuring that loadProgressBar attaches before any other interceptors.response.use - maybe this helps