Unsupported Media type, backend, Please guide me
问题 I am trying to receive a pdf file by using falcon framework as Backend. I am a beginner at backend and trying to understand what is happening. So summary, there are 2 classes. one of them, are my friends which are working. this is the backend side code: #this is my code class VehiclePolicyResource(object): def on_post(self, req, resp, reg): local_path = create_local_path(req.url, req.content_type) with open(local_path, 'wb') as temp_file: body = req.stream.read() temp_file.write(body) #this