.
D 2021-04-21T16:59:50.522
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment I'm\strying\sto\saccess\sthe\sMicrosoft\sMSGraph\sAPI\sthrough\sTcl's\shttp\spackage,\susing\stls\sand\sautoproxy\sto\stunnel\sthrough\sa\sproxy.\sThe\scode\r\n\r\n\s\spackage\srequire\shttp\s2.9.1\r\n\s\spackage\srequire\sautoproxy\r\n\s\sautoproxy::init\r\n\s\shttp::register\shttps\s443\s[list\s::autoproxy::tls_socket]\r\n\s\sset\sreq\s[http::geturl\shttps://graph.microsoft.com/v1.0/me/messages\s-headers\s{Authorization\s{Bearer\s...}}]\r\n\r\nends\sup\ssending\sa\sHTTP\srequest\sof\sthe\sform\s\r\n\s\s\sGET\shttps://graph.microsoft.com/v1.0/me/messages\sHTTP/1.1\r\n\r\nMicrosoft\sdoes\snot\slike\sthis\sbecause\sof\sthe\sfull\sURI,\sand\sanswers\swith\s\r\n\s\s\s\s"code":\s"ResourceNotFound",\r\n\s\s\s\s"message":\s"Invalid\sversion:\sgraph.microsoft.com",\r\n\r\nIt\sinstead\sexpects\sthe\srequest\swithout\sthe\sfull\sURI:\s\r\n\s\s\sGET\s/v1.0/me/messages\sHTTP/1.1\r\n\r\nFrom\sa\squick\sinternet\ssearch\sit\sseems\sto\sme\sthat\sthe\sinclusion\sof\sthe\sfull\spath\smight\sbe\sthe\sright\schoice\sfor\splain\sHTTP\sproxies.\sFor\sHTTPS\sthe\sproxy\suses\sa\s"CONNECT"\scall\sto\sestablish\sthe\sconnection\sand\sthe\sfull\sURI\sis\sneither\sneeded\snor\shelpful\s(as\sthis\sproblem\sshows).\r\n\r\nIt\smight\sbe\shelpful\sto\slet\sthe\susers\sof\sthe\shttp\spackage\scontrol\sthe\shandling\sof\sthis\sproxy/url\sissue\susing\sa\snew\soption\sfor\sthe\shttp\sconnection
J foundin 2.9.1
J is_private 0
J login christian.nassau
J priority 5\sMedium
J private_contact 3b279cda57135cd36d2c32c66396637342913651
J resolution None
J severity Critical
J status Open
J submitter christian.nassau
J subsystem 81.\sBundled\sPackages
J title Need\sHttp\soption\sto\scontrol\ssrvurl\sin\sproxied\shttps\srequests
J type Bug
K 2d9b31130be2084e206524536978a37c17d2f887
U christian.nassau
Z 6bcd0b81d8e7a261edd6f84b908c97d7