html - multipart/form-data not sending binary data in header -


i wondering why code not sending file's data in http request header.

<!doctype html> <html>   <head>     <title>test</title>   </head>   <body>     <form enctype="multipart/form-data" action="test.html" method="post">       <input type="file" name="photo">       <button type="submit">submit</button>     </form>   </body> </html> 

it not pointing @ server side code knowledge shouldn't affect browser generating http request. looking @ actual http request shows getting filename not actual data. link below shows request payload in chrome.

request payload

it sending file data. chrome dev tools doesn't show it.


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -