Avoid HTTP auth popup in a chrome extension (digest)

前端 未结 3 1687
[愿得一人]
[愿得一人] 2021-02-01 09:39

I\'m currently developing a chrome extension, I need to access some http-auth protected resources (webdav). The HTTP auth is using (in the best case) a digest authentication.

3条回答
  •  悲&欢浪女
    2021-02-01 10:28

    I think this is impossible. If you are using the browser's http client then it will prompt the user for credentials on a 401.

    EDIT : Over in mozilla land https://developer.mozilla.org/en/XMLHttpRequest check out "mozBackgroundRequest".

提交回复
热议问题