2 replies
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
#file #html5 #upload
  • Profile picture of the author pjunction
    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.
    {{ DiscussionBoard.errors[9306221].message }}
  • Profile picture of the author kingjpm
    Looked into the HTML progress tag and do not see much CSS support yet
    If anyone knows of future plans, please keep me posted
    Signature
    RogueDen.com
    {{ DiscussionBoard.errors[9308245].message }}

Trending Topics