【多选题】下列关于urllib设置请求头的正确代码是()
A. request = urllib.request.urlopen (url=url,headers=headers) B. request = urllib.request.Request(url=url,headers=headers) C. urllib.request.Request.setHeader(url=url,headers=headers) D. urllib.request.setHeader(url=url,headers=headers)
A. request = urllib.request.urlopen (url=url,headers=headers) B. request = urllib.request.Request(url=url,headers=headers) C. urllib.request.Request.setHeader(url=url,headers=headers) D. urllib.request.setHeader(url=url,headers=headers)