bug: filename method is not suitable for all http1.1