Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lrupp
oncall
oncall-content_length.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File oncall-content_length.patch of Package oncall
--- oncall-1.4.3+git6.ab0b4fd/src/oncall/ui/__init__.py 2022/03/28 13:56:43 1.1 +++ oncall-1.4.3+git6.ab0b4fd/src/oncall/ui/__init__.py 2022/03/28 13:57:02 @@ -121,7 +121,7 @@ filepath = path.join(STATIC_ROOT, self.path, secure_filename(filename)) try: resp.stream = open(filepath, 'rb') - resp.stream_len = path.getsize(filepath) + resp.content_length = path.getsize(filepath) except IOError: raise HTTPNotFound()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor