Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

extract filename from content-disposition header js

var fileName = xhr.getResponseHeader('content-disposition').split('filename=')[1].split(';')[0];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #extract #filename #header #js
ADD COMMENT
Topic
Name
2+5 =