16
18

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

##はじめに
社内環境でプロキシを突破できずハマったので自分用メモ

##プロトコルの違いだった

Pythonのプログラム内で定義

これで突破できなかった

import os
os.environ["http_proxy"] = "http://user:pass@server:port"

こっちで突破できた


import os
os.environ["https_proxy"] = "http://user:pass@server:port"

社内環境がhttpsプロトコルだけだったという話

下記を参照させていただきました。
pythonのrequestsモジュールで認証プロキシを超えたい

16
18
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
18

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?