python 学习urllib 测试网站报错error400:Bad Request,查不出不出原因

import urllib.parse
import urllib.request
url="http://httpbin.org/post"
headers = {"User-Agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36"}
data = bytes(urllib.parse.urlencode({"hello":"world"}),encoding="utf-8")
req= urllib.request.Request(url=url,data=data,headers=headers,method="post")
response = urllib.request.urlopen(req)
print(response.read().decode("utf-8"))

报错

urllib.error.HTTPError: HTTP Error 400: Bad Request

实在是没有明白你的意思啊

不知道是这段代码有什么问题,还是网站的问题,找不出来为什么出现错误400