Skip to content
Myr

Merge pull request #1688 from nivm/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Remove 'flask' from etags to obscure server technologies

authored by David Lord · committed by David Lord · parents 992d9be, edb65cc · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/helpers.py+1 added-1 removed
538 unmodified lines
539 rv.expires = int(time() + cache_timeout)540541 if add_etags and filename is not None:542 try:543 rv.set_etag('flask-%s-%s-%s' % (543 rv.set_etag('%s-%s-%s' % (544 os.path.getmtime(filename),545 os.path.getsize(filename),546 adler32(547 filename.encode('utf-8') if isinstance(filename, text_type)
365 unmodified lines