0001-misc-return-404-on-unreachable-temporary-file-whatev.patch
wcs/forms/root.py | ||
---|---|---|
1165 | 1165 |
tempfile = get_session().get_tempfile(t) |
1166 | 1166 |
except KeyError: |
1167 | 1167 |
raise errors.TraversalError() |
1168 |
if tempfile is None: |
|
1169 |
raise errors.TraversalError() |
|
1168 | 1170 |
response = get_response() |
1169 | 1171 |
if tempfile['content_type']: |
1170 | 1172 |
response.set_content_type(tempfile['content_type']) |
1171 |
- |