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

python - What's the Pythonic way to report nonfatal errors in a parser? -

sql server - Deadlock occuring in Clustered Columnstore index -

angular - Converting AngularJS deffered promise to AngularX observable for JSOM -