File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,15 @@ Unreleased
7
7
8
8
- Properly handle multi-line header folding in development server in
9
9
Python 2.7. (:issue: `1080 `)
10
- - Restore the ``response `` argument to :exc: `exceptions.Unauthorized `.
10
+ - Restore the ``response `` argument to :exc: `~ exceptions.Unauthorized `.
11
11
(:pr: `1527 `)
12
- - :exc: `exceptions.Unauthorized ` doesn't add the ``WWW-Authenticate ``
12
+ - :exc: `~ exceptions.Unauthorized ` doesn't add the ``WWW-Authenticate ``
13
13
header if ``www_authenticate `` is not given. (:issue: `1516 `)
14
14
- The default URL converter correctly encodes bytes to string rather
15
15
than representing them with ``b'' ``. (:issue: `1502 `)
16
+ - Fix the filename format string in
17
+ :class: `~middleware.profiler.ProfilerMiddleware ` to correctly handle
18
+ float values. (:issue: `1511 `)
16
19
17
20
18
21
Version 0.15.2
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ def __init__(
77
77
sort_by = ("time" , "calls" ),
78
78
restrictions = (),
79
79
profile_dir = None ,
80
- filename_format = "{method}.{path}.{elapsed:06d }ms.{time:d }.prof" ,
80
+ filename_format = "{method}.{path}.{elapsed:.0f }ms.{time:.0f }.prof" ,
81
81
):
82
82
self ._app = app
83
83
self ._stream = stream
You can’t perform that action at this time.
0 commit comments