[英]HTTP 415 Unsupported Media Type
I have a problem on uploading MP4 videos to our server before I encountered this problem, I already have successfully uploaded MP4 videos to our server. 在遇到此问题之前,我在将MP4视频上传到我们的服务器时遇到问题,我已经成功将MP4视频上传到我们的服务器。 I am really confused why it wont work on some MP4 files. 我真的很困惑,为什么它不能在某些MP4文件上工作。
I have following error on my console: 我的控制台上出现以下错误:
[Log] 1409209710 (1008, line 4179)
[Error] Failed to load resource: the server responded with a status of 415 (Unsupported Media Type) (upload, line 0)
[Log] File (1008, line 1611)
[Log] undefined (1008, line 1612)
[Log] 1409209770 (1008, line 4179)
Sorry for my english :), I hope you can help me with this. 对不起,我的英语:),希望您对此有所帮助。
Thanks, 谢谢,
415 Status Means what: 415状态含义:
A 415 status code is returned by a server to indicate that part of the request was in an unsupported format, ie, The request was unsuccessful because the entity of the request is in a format not supported by the requested resource for the method requested. 服务器返回415状态码,以指示请求的一部分处于不受支持的格式,即,请求不成功,因为请求的实体的格式不受请求的资源所支持,而该请求的方法不支持该格式。
Why : 为什么:
The request did not specify any media types that the server or resource supports. 该请求未指定服务器或资源支持的任何媒体类型。 For example the client specified that an image resource should be served as image/svg+xml, but the server cannot find a matching version of the image. 例如,客户端指定应将图像资源用作image / svg + xml,但是服务器找不到该图像的匹配版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.