pldubouilh / gossa

🎶 a fast and simple multimedia fileserver
MIT License
905 stars 72 forks source link

Pass credentials on `fetch` call #6

Closed utdemir closed 5 years ago

utdemir commented 5 years ago

By default 'fetch' call does not pass cookies or basic auth credentials to the backend, that results in a HTTP 401 if gossa is behind basic auth.

This PR fixes the issue.

See: https://github.com/qutebrowser/qutebrowser/issues/1792#issuecomment-448024889

pldubouilh commented 5 years ago

thanks for your pr! seems to work just fine, LGTM 👍