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.
it sending file data. chrome dev tools doesn't show it.
Comments
Post a Comment