Do you support pac(proxy automatic configuration)?

I want to pac(proxy automatic configuration) file for proxy environment in net/http package.
But I don’t know how to configure by pac file.
I wish to use like “ProxyFromEnvironment” method in http package.

This package should get you started:

And an example of how to build an http.Transport that uses it:

I wish official support of golang.
I think your suggestion is not given official support.(misunderstanding?)

There is no “official support” for pac, and it is is extremely unlikely that there will be.

The problem is that a pac file is defined as containing a JavaScript function. That means anything supporting pac requires a complete JavaScript interpreter.

Since pac is not directly supported by the standard library, I responded with the best resources I could find.

I understand.
Thanks for your reply.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.