开发者

is Video tag in html a POST request or GET request?

开发者 https://www.devze.com 2023-01-28 22:57 出处:网络
Iam iusingin my html. 开发者_如何学编程I am trying to handle the request on server side using python BaseHTTPServer. I want to figure out how the request from video tag looks like???It will be a simpl

I am iusing in my html. 开发者_如何学编程I am trying to handle the request on server side using python BaseHTTPServer. I want to figure out how the request from video tag looks like???


It will be a simple GET request, just like any other resource embedded in an HTML document.

If you really want to examine exactly what browsers send, then use something like Charles or the Net tab of Firebug.


POST is usually reserved for form submissions because you are POSTing form information to the server. In this case you are just GETing the contents of a <video> source.

0

精彩评论

暂无评论...
验证码 换一张
取 消