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

go - serving up pdfs using golang -

python - Best design pattern for collection of objects -

r - Using `bbmle:mle2` with vector parameters (already works using `optim`) -