HTML5 File Upload

by 2 replies
3
I been experimenting uploading files and testing my script in multiple browsers and ran into a warning when testing in Chrome...

Refused to set unsafe header "Content-Length"

Why can you not set the content length in the Request Header? Just wondering.

Also, I was wondering if anyone knows any tricks for setting the CSS for the HTML5 progress tag

You can see what I am talking about below

Uakari Pro File Uploader
#programming #file #html5 #upload
  • There is no need to set the Content-Length. Chrome will do it it's self. It won't let you do it because it could expose various request smuggling attacks.
    • [ 1 ] Thanks
  • Looked into the HTML progress tag and do not see much CSS support yet
    If anyone knows of future plans, please keep me posted

Next Topics on Trending Feed

  • 3

    I been experimenting uploading files and testing my script in multiple browsers and ran into a warning when testing in Chrome... Refused to set unsafe header "Content-Length"